Autonav rollover menu: posted many times but no solutions yet
My one reservation, however, is regarding autonav. When secondary navigation LIs for children pages are printed, they are printed in their own LIs just below the parent.
The problem is that if you want to display the HTML like this:
You can't. At least that's what I'm not finding a solution for. In order to create a rollover menu for the child items you would need the HTML to render as I've mentioned.
Many people have inquired about this in the forums, but after a LONG time here I'm yet to find a solution. I've even read a few people saying it does indeed work this way, but I'm at a loss to make it work.
I've successfully modified header_menu.php by creating my own version of that block in the root /block directory. That worked great for setting up the primary nav like I want it.
All I want to do now is add the children pages inside the parent LI inside their own UL.
I'm an experienced web designer/developer and work with PHP regularly including the Codeigniter framework. So I would think I could figure this out.
Any help will be GREATLY appreciated. I can't use Concrete if I can't get this to work. Thanks in advance for your time.
The header file is completely different.
I modified the view file and copied my modification over the header file for a menu I made.
Sorry, I should have clarified what I'm experiencing…
The autonav/view.php file worked the magic I needed. Everything works great except I can't get the rollover menu to display on ALL pages. My menu looks like this:
Etcetera. When I'm in the "Projects" section the rollover menu works. When I'm in other sections the rollover menu doesn't print.
As far as I can tell it has something to do with this:
$thisLevel = $ni->getLevel();
I found the getLevel function but it didn't seem to help. So that's where I'm at. Thoughts?
Thanks a lot for your time, ijessup. Your help got me on the right track.
I was reading at your posting and I am having the same problem though I only have a one level menu.
To create the menu I follow this tutorialhttp://www.codeblog.ch/2009/12/image-navigation-items/...
Unfortunately, I am not too proficient in php. But after analyzing things for a while I am almost positive that I have to add some php rules to the image_navigation.php file, so that then I can play with my css and apply an individual class style to each one of my menu links.
It seems that after a lot of work you were able to find the solution and I was hoping you could help me out....