Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Combining man and sub menus  (Read 2811 times)

0 Members and 1 Guest are viewing this topic.

Mr. Rogers

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Combining man and sub menus
« 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.
« Last Edit: December 20, 2007, 08:08:08 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Combining man and sub menus
« Reply #1 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).
Logged

Mr. Rogers

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Combining man and sub menus
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Combining man and sub menus
« Reply #3 on: December 17, 2007, 06:12:05 pm »

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

Mr. Rogers

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Combining man and sub menus
« Reply #4 on: December 18, 2007, 03:53:55 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Combining man and sub menus
« Reply #5 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
Code: [Select]
{SYS_MENU}<br />{SUB_MENU}and replace with
Code: [Select]
{SYS_MENU}&nbsp;|&nbsp;{SUB_MENU}
Logged

Mr. Rogers

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Combining man and sub menus
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.