Friday, June 13, 2014

No customize dashboard after applying custom presets

In Alfresco Share 4.2.x menu has changed and some of this is implemented share-header.get.js and share-header.lib.js.

 When making a custom preset for a site 'type', normally you would give it a custom title and titleId. This causes the customize Dashboard option to disappear, there fore you need to modify line 1531 (form 4.2.2) to include your custom dashboard title id:

share-header.lib.js:
...
 // If on the dashboard then add the customize dashboard option...
 if (page.titleId == "page.siteDashboard.title" || page.titleId == "page.meeting_workspace.title")
            {


...