AnsweredAssumed Answered

Modify 'Favorite Sites' dropdown to show ALL sites

Question asked by filmchris on Apr 13, 2011
Latest reply on Mar 15, 2013 by count0
I've been trying to get this working for at least the last 6 hours and keep hitting a wall.

I would like the Favorite "Sites" dropdown in the header to display all sites to which the logged in user has access. I only have two sites, with one group of users having access to both sites, and the other group having access to only one. I would like to forego the "favorites" route and just display the site(s) that the user has access to, for quick navigation between them.

My approach today was to extend /site-webscripts/org/alfresco/modules/header/sites.get.js and sites.get.html.ftl to more closely resemble the "Sites" dashlet (my-sites.get.js / my-sites.get.html.ftl) on the user dashboard, which provides a similar functionality (displaying all accessible sites to the user). So far, however, I've had no luck in getting this to work.

I'm fairly new to Alfresco, but it really seems like this shouldn't be that difficult. Any suggestions would be greatly, hugely appreciated.

Alfresco 3.4d (Bitnami AMI / Amazon EC2)
Linux Ubuntu i386
Apache Tomcat/6.0.26
JVM 1.6.0_18-b07

Outcomes