cancel
Showing results for 
Search instead for 
Did you mean: 

hide 'company home' from navigator menù

robertoroberto
Champ in-the-making
Champ in-the-making
Hi, I want hide some elements from Web Client Navigator, on the left side of GUI. For example, I want hide "Company home" and "Guest Home"

How can I do it?

Help me! :?
6 REPLIES 6

gavinc
Champ in-the-making
Champ in-the-making
You would have to customise UINavigator.java i.e. org.alfresco.web.ui.repo.component.UINavigator

robertoroberto
Champ in-the-making
Champ in-the-making
And how can I entirely hide the navigator bar from browse.jsp page?

gavinc
Champ in-the-making
Champ in-the-making
If you want to hide the sidebar completely you can set the 'shelf' to be hidden in the config:


<config>
   <client>
      <shelf-visible>false</shelf-visible>
   </client>
</config>

This should be placed in your web-client-config-custom.xml file.

oburlaca
Champ in-the-making
Champ in-the-making
As a newbie in Alfresco I've understood that if I want to make a change to org.alfresco.web.ui.repo.component.UINavigator, I need:
1. a little knowledge of JSF will be of help
2. Alfresco SDK
3. Eclipse

Are there any quick tutorials/forum topics/articles on how to recompile the JARs from /tomcat/webapps/alfresco/WEB-INF/lib ?

(I'm not a java programmer but a perl programmer, it tooks time for me to understand all the inner workings that are obviously simple but requires java knowledge).

Thanks.

oburlaca
Champ in-the-making
Champ in-the-making
I've found the solution: I should have been use Alfresco SVN access!
I've got the sources, installed everything that is needed, changed some .java files, then used ant to compile. replaced the webclient.jar and restarted tomcat: it worked!
Thanks and sorry for disturbance with the previous question.

blega
Champ in-the-making
Champ in-the-making
I've found the solution

I'm very interested ! I'm using Alfresco Community 2.1 and I have the
same requirement.

Could you describe which files did you update and how so ?

Do there developments fit in an AMP ? Or do I have to recompile and redeploy Alfrescco ?
If I have to redeploy Alfresco, is there a procedure not to loose  my settings (web.xml, custom*content.xml, etc.)
before redeploying the war file ?

Have a nice day,
Bertrand.