Hello,
I need a bit of help trying to create a third horizontal menu bar to sit underneath the Primary Links bar and the Secondary Link bar. I also need a three different versions of the third menu bar depending on the users role.
I have Drupal 6.16 and am using the Framework Theme.
Example:
Member Level:: (when a person of this level visits any page they see the following)
Home | About | Contact | <--- Primary Links
Articles | Forum | Chat | Store <----- Secondary Links
Foo | Bar | Misc <----- "Third Links"
Student Level:: (when a person of this level visits any page they see the following)
Home | About | Contact | <--- Primary Links
Articles | Forum | Chat | Store <----- Secondary Links
Stuff | Etc | Things <----- "Third Links"
Staff Level:: (when a person of this level visits any page they see the following)
Home | About | Contact | <--- Primary Links
Articles | Forum | Chat | Store <----- Secondary Links
ABC | DEF | GHI <----- "Third Links"
I can create a block or a new menu listing through admin/build/blocks or admin/build/menus, however, how would I get that block/menu to show up as a THIRD horizontal bar? (None of my links are children of other links. They are seperate links that I input manually through admin/build/menus.)
Thank you for any help with this! I have tried to edit the CSS and PHP (style.css and page.tpl.php) but nothing worked. I know limited PHP but know CSS and HTML very well.
Thanks again!
Anastasia V. Pergakis
Comments
Up!
Just moving this up in the threads.
Up Again!
Just moving it up again. Thanks.
I FIGURED IT OUT!
I'm replying here that I figured this out and including my findings for anyone else that might need this.
I continued to search for the last few days since this original post to find SOMETHING that could help me work this the way I wanted.
Well, I found a module - Dyanamic Persistent Menu.
Now, the original way this was intended had child links and such, but I thought I might be able to edit the CSS a bit and make it work for me. So I downloaded it, installed it, etc.
And voila!
Sure enough, now I have THREE lovely horizontal bars across the top of every page! I simply edited by style.css file to add in the styling I wanted The other thing I had to do was go into my page.tpl.php file and take out the following line:
<?php if (!$nav): ?> <!-- if block in $nav, overrides default $primary and $secondary links -->(Don't forget the closing php tag for this opening line also or you'll get an error!) This made it so the block created by the Dynamic Menu Module would not override the Primary and Secondary Links when I moved it to the Navigation area of my page at admin/build/blocks.
Also note that the code above is from the Framework theme. I know not all themes have this line, so your theme might not. But, I wanted to post it here just in case any other themes had this same line.
That was it! I hope this helps someone in the future as I sure as heck wanted to pull my hair out trying to figure it out!
~~Anastasia V. Pergakis~~