How can I have two nav menus?

Permalink
I need to have one standard horizontal navigation menu for main nav, and I did that with the auto nav block. But I also need a secondary type nav that will be a vertical list of links, can I make two auto navs? Is there a way to do this through the CMS or do I just have to hard code it?

 
frz replied on at Permalink Reply
frz
add a auto-nav block to page in question.

http://www.concrete5.org/help/editing/add_an_auto-navigation/...
thatryan replied on at Permalink Reply
Thanks. :)
I read that but I must not be understanding how to do it. The two menus will have different content, as in main nav items are not same as secondary. But when I choose auto nav it puts all of them there. Unless I hide the page from nav, but then it dont show up at all.. I am probably making this hard, but can you explain please?
Thank you.
frz replied on at Permalink Reply
frz
everything in concrete5 is on a tree, so you can point that autonav to whatever part of the tree you want.. mess with the settings and preview tab some more.
thatryan replied on at Permalink Reply 1 Attachment
What do you mean make the pages first? I have a list of my pages in sitemap, screenshot attached. Half are main nav, half should be secondary nav. I tried telling auto nav to display sub levels etc, but the preview only showed one page, or none, or the most of the list, only the first 7.
I am just not seeing this, please help.
Thanks again.
frz replied on at Permalink Reply
frz
the auto-nav block doesn't let you choose which pages to include in a navigation that way. If you want to just hard code a primary and secondary nav you could use the content block to make the links and they would update correctly.

To achieve what you're talking about with the auto-nav block you'd have to group some of these pages together as a child of another page..

perhaps you could create an About Us page that contained, contact, feedback, contact US, and request samples for example - then it'd be easy to make a secondary navigation showing all the pages under About Us.
thatryan replied on at Permalink Reply 1 Attachment
So I made the secondary pages sit in the "folder" of the top page, like in the screen. But none of them are visible in the auto nav. What am I doing wrong, did I misunderstand what you said? See screenshot.
frz replied on at Permalink Reply
frz
did you change the options on that auto-nav at all? At this point you need to go into that nav you want to show the pages in tracking on, edit its details and see what you can do.

You can point that navigation to a specific page (the tracking page) and show all it's children..

If you're /on/ one of those children pages you can use the auto-nav to point to the page's parent and show all the children...

really just play with the options you see there. The only thing you can't undo easily in concrete5 is deleting a page. Don't be afraid to click around a bit.
-frz
thatryan replied on at Permalink Reply 2 Attachments
Ok first off, yes I messed with every combination of options in the auto nav box I could think of. I have pointed the thing to the page I want, see screen shot. I have been playing with everything, I am not worried about deleting anything, I have no problem with writing code lol, I just don't get how this works. :)
I mean, this should be working right? But the preview window is blank...
RadiantWeb replied on at Permalink Reply
RadiantWeb
unless you modified any code. And to clarify, is it just the "preview" isn't working, or after adding it still is a no-show?
frz replied on at Permalink Reply
frz
I just setup a demo on our box for ya:

http://navdemo.getconcrete5.com/...

u: admin
p: navdemo

now on the "about" page there already was a secondary nav showing just its children. I recreated that on the home page just now with some tweaked settings.

hope that helps.
thatryan replied on at Permalink Reply 4 Attachments
I did not edit any code specific to that blindman, and it is no show outside of preview also.
Thanks for setting up the demo, I matched the setup and tried it, it works on yours but not mine...?
I screened both sitemap setups and auto-nav settings. Thoughts?
THanks again.
tallacman replied on at Permalink Reply 3 Attachments
tallacman
I have an auto nav block in my page at:http://www.wirelessaffinity.com/sites/...

The block should have five links in it, and it shows 5 links while I am logged in (see images). And the preview tab shows the 5 links. But when logged out it shows only the first 4 links. The source code shows that only four <li>'s are being sent to the browser so it's not the css.

Is this a bug or any I just being dense again?

Here is the source code from the browser:

Before:
<div id="blockStyles31" class="ccm-block-styles" >
<ul class="nav"><li><a href="/sites/usoc-home/">US Olympic Committee</a></li><li><a href="/sites/usakaratemobile/">USA Karate Mobile</a></li><li><a href="/sites/edblockmobile/">Ed Block Mobile</a></li><li><a href="/sites/amvets/">AMVETS Mobile</a></li></ul></div>            </div>


After:
<div id="blockStyles31" class="ccm-block-styles" >
<ul class="nav"><li><a href="/sites/usoc-home/">US Olympic Committee</a></li><li><a href="/sites/usakaratemobile/">USA Karate Mobile</a></li><li><a href="/sites/edblockmobile/">Ed Block Mobile</a></li><li><a href="/sites/amvets/">AMVETS Mobile</a></li><li><a href="/sites/usaf/">USAF Falcons</a></li></ul></div>            </div>



Thanks for the help.

Steve
frz replied on at Permalink Reply
frz
more likely than not the last page is not set to be readable by guests. these navs typically honor permissions.
tallacman replied on at Permalink Reply
tallacman
I just tried that and now they all show. Sorry for the bother and the help.