cancel
Showing results for 
Search instead for 
Did you mean: 

Default view of sidebar should be Shelf?

daxter123
Champ in-the-making
Champ in-the-making
Hi,

I want to change the default view of sidebar. It should be Shelf instead of Navigator. Everytime the user will be loggedin Shelf will be automatically selected. How can i do this? Which files need to be modified?

Another thing i want to do that one item should be added in the Shortcuts
Thanks
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Create a web-client-config-custom.xml in tomcat/shared/classes/alfresco/extension containing the following:
<alfresco-config>
   <config evaluator="string-compare" condition="Sidebar">
      <sidebar>
         <!– the default sidebar plugin to be shown on app startup –>
         <default-plugin>shelf</default-plugin>
      </sidebar>
   </config>
</alfresco-config>

Thanks,
Mike

daxter123
Champ in-the-making
Champ in-the-making
Thanks Mike, This solution worked for me.

Do you also know how can i add a node under shortcut? I actually always want to show a Web Project to all users.

mikeh
Star Contributor
Star Contributor
Take a look at the createShortcut() method in UserShortcutsBean - they're stored via the PreferencesService under the "shortcuts" key.

Thanks,
Mike

daxter123
Champ in-the-making
Champ in-the-making
Is there a way to extend the functionality instead of modifying the source code?