Combining man and sub menus Combining man and sub menus
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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