coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Mr. Rogers on December 14, 2007, 07:35:03 PM

Title: Combining man and sub menus
Post by: Mr. Rogers on December 14, 2007, 07:35:03 PM
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.
Title: Re: Combining man and sub menus
Post by: Joachim Müller on December 15, 2007, 12:28:08 PM
Post a link to your gallery and what you did so far (the content of your theme.php).
Title: Re: Combining man and sub menus
Post by: Mr. Rogers on December 17, 2007, 05:40:49 PM
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.
Title: Re: Combining man and sub menus
Post by: Joachim Müller on December 17, 2007, 06:12:05 PM
Zip up your custom theme and attach it to your posting then.
Title: Re: Combining man and sub menus
Post by: Mr. Rogers on December 18, 2007, 03:53:55 PM
Zipped and attached. I'm using a modified water_drop theme.
Title: Re: Combining man and sub menus
Post by: Joachim Müller on December 19, 2007, 08:47:51 AM
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}
Title: Re: Combining man and sub menus
Post by: Mr. Rogers on December 19, 2007, 06:33:13 PM
no, no, no it couldn't have possibly been that simple (bows head in shame and goes off to sit in the corner)  :-X