Page 1 of 1

Trying to code a horizontal mainmenu that wraps into multiple lines

Posted: Mon Jan 07, 2008 11:09 pm
by wialco
I am creating a custom template for a customer. I have done as much as I think I can do through the administration backend and am attempting to get a horizontal main menu to wrap into multiple lines.  If anyone has any suggestions before I start hacking the mod_mainmenu please give me a shout.  :pop

Re: Trying to code a horizontal mainmenu that wraps into multiple lines

Posted: Fri Jan 11, 2008 1:03 pm
by herb200mph
The painless way to do a double line menu is:

Create two identical menues in the same module position and stack them one above the other.

Do not display a module heading/title on the second row.

When row one is filled with buttons, begin adding them in row two.

You can create a unique new style for these two modules so that they appear visually as one unit.

Go to CCBFA.org and log in as "guest" with password "joomla" and look at the horizontal menu in the center content area.  The second row does not yet have link content so it is normall shut off.  Turned it one so you can look at it.  Let me know when you have seen it so I can turn it off again.

Anyway, thats a no-hack way of doing stacked menues in the same module location.

Re: Trying to code a horizontal mainmenu that wraps into multiple lines

Posted: Mon Jan 28, 2008 7:18 am
by mistaken
jst hack the php file of the module.. try making tables by using nd for the module.. or better yet try making divs andalter or make module suffixes on the modules' style.css... its really not that complicated hacking the mod_**.php.... hope this helps... i'll also try to make one myself so that i may send u which codes to play with..  :'( :'( :'( :'(