Combining man and sub menus Combining man and sub menus
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Combining man and sub menus

Started by Mr. Rogers, December 14, 2007, 07:35:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr. Rogers

How can I combine the elements in the main menu with the elements in the submenu? I tried placing all the submenu items in the $template_sys_menu in my template but that didn't work. I'm just looking to have all the elements on the same line.

Joachim Müller

Post a link to your gallery and what you did so far (the content of your theme.php).

Mr. Rogers

I would but the site is on an intranet and therefor not publicly accessible. I haven't done much customization but I can post the theme.php file if that would help.

Joachim Müller

Zip up your custom theme and attach it to your posting then.

Mr. Rogers

Zipped and attached. I'm using a modified water_drop theme.

Joachim Müller

That's little surprise: you have a linebreak between the sys-menu and the sub-menu placeholder tokens in your template. Edit themes/yourtheme/template.html, find{SYS_MENU}<br />{SUB_MENU}and replace with{SYS_MENU}&nbsp;|&nbsp;{SUB_MENU}

Mr. Rogers

no, no, no it couldn't have possibly been that simple (bows head in shame and goes off to sit in the corner)  :-X