cancel
Showing results for 
Search instead for 
Did you mean: 

Customize number of menu items shown for available site pages

ttownsend
Champ on-the-rise
Champ on-the-rise
Hi again all -I had seen a post on our forums a while ago relating to this, but I can't find it again.

I am trying to increase the number of available site pages menu items (i.e., document library, wiki, discussions, links, data lists, etc.) from 2 items shown to having all of the items shown (see attached pic). 

Can anyone tell me where that config item lives?

Many thanks,
Trevor
4 REPLIES 4

douglascrp
World-Class Innovator
World-Class Innovator
You have to define it in your share-config-custom.xml file.

In order to see the OOTB configuration, open the <tomcat>\webapps\share\WEB-INF\classes\alfresco\share-config.xml and search for "max-displayed-site-pages"

On 4.2.f, the default is 3
<max-displayed-site-pages>3</max-displayed-site-pages>

Hi douglascrp,

Thanks very much!  Is it simply a matter of copying that code to the share-config-custom.xml file?

cheers!

douglascrp
World-Class Innovator
World-Class Innovator
Yes, that's the idea.

Copy the line and all the surrounding lines and change what you need.
But make sure you keep the xml structure. If you mess with the xml format, it wont work.

Let me know if you need help.

ttownsend
Champ on-the-rise
Champ on-the-rise
Hi doublascrp,

I've tried that with no change observed and no errors reported.
I have to be so basic, but would you be able to walk me through the steps of doing this?

Very best,
Trevor