cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED for 1.3] How to modify browse.jsp ?

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

i like your browse interface but i want to change some little things.

How i can do that ?

I change your browse.jsp or i can copy yours in extension and modify it ? In this last option i need to do change all navigation rules right ?

I want to do that cleaner as possible to avoid problem in future upgrade Smiley Happy
I had read how to modify login page but im little bit affrad to do same thing with browse.jsp because its your "core" jsp.

Thx bst regards
3 REPLIES 3

csiege
Champ in-the-making
Champ in-the-making
I think there was a post about this sometime recently.  We have made some minor jsp modifications.

You will have to make them to the "core".  There is no extension or override feature for the jsp's.

Someone correct me if I am wrong. 🙂

gavinc
Champ in-the-making
Champ in-the-making
It depends which JSPs 🙂

JSPs that belong to a new style dialog or wizard (as from 1.3) can be overridden by supplying custom configuration for the dialog/wizard. You can then point to custom JSPs and not change "core" files. Furthermore, you can override navigation rules so that the page navigated to is your custom page (which would typically be a modidifed copy of ours).

There are a set of files that you can not override currently, unfortunately, browse.jsp is one of those files. So, for now you will have to change our browse.jsp and re-apply your changes when you upgrade.

Alternatively, if you implement your own "browse" page, yes, you would have to change all the navigation rules. However, you can override them in your own custom file which would be upgrade proof. See http://wiki.alfresco.com/wiki/Customising_The_Login_Page for an example of overridding navigation rules and be sure to read http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions#JSF_configuration_files to ensure you package the custom files correctly.

ribz33
Champ on-the-rise
Champ on-the-rise
Thx a lot its clear now Smiley Very Happy