Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-12103

No "Customize Dashboard" button for custom presets with custom <title-id> for the dashboard page

    Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00161223

      Description

      How to reproduce?

      1. Place the attached presets.xml into /tomcat/shared/classes/alfresco/web-extension/site-data/presets/
      2. Modify /tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/create-site.get.js
      to use the new preset (attached js)
      3. Restart the server
      4. Create a new Site with custom-site-preset
      5. Customise the Dashboard

      Expected Behaviour?

      There should be the Customise Dashboard button

      Actual Behaviour

      No Customise Dashboard button (see screenshot)

      Notes

      The reason for this is that the logic to display the button is in the JS
      tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/imports/share-header.lib.js (line 1530):

      // If on the dashboard then add the customize dashboard option...
      if (page.titleId == "page.siteDashboard.title" || page.titleId == "page.meeting_workspace.title")

      So in order to view the button the page has to have either the titleId page.siteDashboard.title or page.meeting_workspace.title

      It should be nice to have a preset property for this instead, so that you can control it more explicit.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                uiteam Web Apps (Inactive)
                Reporter:
                mmancuso Marco Mancuso [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel