cancel
Showing results for 
Search instead for 
Did you mean: 

custom browse.jsp not working at certain points

pallavi_jain
Champ in-the-making
Champ in-the-making
I have made some customisations and have overriden the browse.jsp with my custombrowse.jsp.
but sometimes it works but at the other times it doesn't.
here is what i want my home page to look like:
http://thealfrescoblog.wordpress.com/?attachment_id=42
that is the links at the top should be hidden.
but when i click say, create content or run action
http://thealfrescoblog.wordpress.com/?attachment_id=40
the links reappear
http://thealfrescoblog.wordpress.com/?attachment_id=41

what am i missing?
Please help, it is becoming a headache for me.
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
Hi Pallavi,

It is because when you open any wizard it will open the container.jsp from which is lying under jsp/wizard you need to override that as well. Not only that for dialogs its jsp/dialog/container.jsp
So need to override that as well.

pallavi_jain
Champ in-the-making
Champ in-the-making
hey Mits..
I got your point.
But there is no navigation rule for wizard/container.jsp in faces-config-navigation.xml. Is there?
How will my custom container.jsp be picked up?

mitpatoliya
Star Collaborator
Star Collaborator
Yes, you are right,
You need to override in alfresco-config-custom.xml

<alfresco-config>

   <config>
      <wizard-container>/jsp/wizard/extension/customcontainer.jsp</wizard-container>
    </config>
</alfresco-config> 

pallavi_jain
Champ in-the-making
Champ in-the-making
thank you Mits!
Smiley Happy
You have been a great help throughout.
It is done.