How can I have two separate navigation menus?
Permalink
My layout has "Home, Services, News, Event, Contact Us" in the main navigation. But in the footer, I need to have links for "Employment Opportunities, Company History, Client Login, Find us on Facebook"
I don't see a way to create something like this in C5? The best thing I came up with is to ad each of the footer items as a sub-menu for one of the home menu items...but then the URL's will all have the parent page prefix on them...which isn't the end of the world, but it's not ideal.
Is there a way to do something like this?
I don't see a way to create something like this in C5? The best thing I came up with is to ad each of the footer items as a sub-menu for one of the home menu items...but then the URL's will all have the parent page prefix on them...which isn't the end of the world, but it's not ideal.
Is there a way to do something like this?
Adding a content block down at the footer with hyper-links manually inserted should achieve what you want. Copying the block to the Scrapbook will allow you to add it easily to multiple pages. If your site is very page heavy, adding the links in the CSS or footer folder may be the best solution. Its all in how you envision the final page layout to look.
Here's a tutorial on how to do this!
http://www.concrete5.org/documentation/how-tos/designers/custom-foo...
http://www.concrete5.org/documentation/how-tos/designers/custom-foo...
That's PERFECT! Thanks!
I'm doing something similar, except it's an Events navigation on the right side. I've followed all instructions (thanks for this link, btw) but I'm confused by the following:
"We normally add this to a Scrapbook as a block called Footer Menu then insert this code where we want it in our page:
display(); ?>"
I've added my menu (called Events Menu) to the scrapbook, but I don't know how to insert the display code. Do I insert an html block with that code? (tried, didn't work.) "Event Menu" isn't showing up as a block option.
What am I missing?
"We normally add this to a Scrapbook as a block called Footer Menu then insert this code where we want it in our page:
display(); ?>"
I've added my menu (called Events Menu) to the scrapbook, but I don't know how to insert the display code. Do I insert an html block with that code? (tried, didn't work.) "Event Menu" isn't showing up as a block option.
What am I missing?
The formatting of that article got messed up. The code is this:
<div id="footerNav"> <?php $block = Block::getByName('Footer Menu'); if( is_object($block) ) $block->display(); ?> </div>
if you don't want to hard code the menu like the tutorial suggests you can add the menu to a page by clicking the area you want it to go in and choosing 'Add From Scrapbook' instead of 'Add Block'.