cancel
Showing results for 
Search instead for 
Did you mean: 

How do I modify the 'tool bar' on a site dashboard

shoover
Champ in-the-making
Champ in-the-making
Hello,
I've been trying to update a site dashboard to remove the links to the wiki and blog site pages from the site dashboard.
I have tried modifying the   /tomcat/webapps/share/WEB-INF/classes/alfresco/site-data/presets/presets.xml file by changing  the site pages properties in this portion of the code:
      
 <page id="site/${siteid}/dashboard">
            <title>${siteid} Collaboration Site Dashboard</title>
            <title-id>page.siteDashboard.title</title-id>
            <description>Collaboration site's dashboard page</description>
            <description-id>page.siteDashboard.description</description-id>
            <template-instance>dashboard-3-columns</template-instance>
            <authentication>user</authentication>
            <properties>        
   <sitePages>[{"pageId":"wiki-page"}, {"pageId":"blog-postlist"}, {"pageId":"documentlibrary"}, {"pageId":"calendar"},{"pageId":"links"},{"pageId":"discussions-topiclist"}]</sitePages>
            </properties>
         </page>
to read as this:
        
<page id="site/${siteid}/dashboard">
            <title>${siteid} Collaboration Site Dashboard</title>
            <title-id>page.siteDashboard.title</title-id>
            <description>Collaboration site's dashboard page</description>
            <description-id>page.siteDashboard.description</description-id>
            <template-instance>dashboard-3-columns</template-instance>
            <authentication>user</authentication>
            <properties>        
   <sitePages>[{"pageId":"documentlibrary"}, {"pageId":"calendar"}]</sitePages>
            </properties>
         </page>

I stopped and restarted alfresco but I still don't see the changes taking effect.

Is this the presets.xml the correct file or is there someplace else that would be more appropriate.

Thanks in advance.
Steve
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
Altering the presets.xml would affect the creation of new Sites. For existing Sites, use the Customise Site page to remove those pages you don't want.

Thanks,
Mike

shoover
Champ in-the-making
Champ in-the-making
Mike thanks for the reply.
I was expecting to do it at a code level. 
I didn't realize it could be done via admin on the individual sites.

Thanks.