Controlling how many menu items display...

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 19, 2008   (RSS)

By HDBC - March 18, 2008

I've been poking around, but I can't find a way to control the number of Sections that get listed as menu items before appearing in the drop down menu.

My site has 7 menu items with relatively short names. The last two items appear in the drop down menu.

Would it be possible to simply display all the menu items with float left style so they wrap within a vertically expanding header? Or any other way we can see ALL of the sections regardless of how many we have in a website?

thanks,
Eric

Re: [HDBC] Controlling how many menu items display...

By Dave - March 19, 2008

If you're comfortable modifying the code you can take a look at /lib/menus/header.php and search for "maxMenus". You'll find a line like this that you can modify:

$maxMenus = 5;

And if you search the forum (link) there's a few other posts with some simpler code to list the menu options.

Hope that helps, let me know if you have any more questions about that. :)
Dave Edis - Senior Developer
interactivetools.com