How navigation works in concrete 5

Permalink
Hi,

New to concrete 5 and have not installed it on our server. So, the question i have is how easy is it to integrate a current complex javascript menu into a concrete 5 site with a few php includes? So far, i've not found any good CMS solutions that can handle php includes when it comes to editing sites.

I have a current site i'm about to dump from ICE and move over to Concrete 5 - so just checking to see what i'm in for.

Thanks for any advice you can give.

Ryan.

 
bcarone replied on at Permalink Reply
bcarone
There are ways to do this. You can include it in your theme or you can create a package specific to your site and if it is easy enough to do, you can then submit your menueing system to the Marketplace and bare some fruit of your labors.

The key to all this is using the built in capabilities of Concrete5. Go to the documentation section of the web site and you may find what your looking for. If your JS menu is using jQuery, it may be a no brainer to convert. The simple php lines of code for a theme works most of the time. Making it as a package or block, will take more time and more knowledgeable folks would need to help you there.

Bill
cw360 replied on at Permalink Reply
Hi Bill,

Thanks for the quick reply. Yes, my menu does use jquery. Unfortunately, I'm not a php guru, so i'll have to muddle my way through it.

Appreciate your comments.

Ryan.
LucasAnderson replied on at Permalink Reply
LucasAnderson
Concrete5 gives you the ability to use the Auto-Nav, which will populate any menu system you can create automatically with pages as they are added, moved or deleted.

You can find more information about the auto nav here:http://www.concrete5.org/documentation/general-topics/add_an_auto-n...

And a primer to get you started here:http://www.concrete5.org/documentation/how-tos/primer-auto-nav-bloc...
cw360 replied on at Permalink Reply
Hi,

How does this work when you're trying to keep your existing styling and effects?

My menu is jquery-based and is multi-level. It looks like most of the auto-nav is used when you're using traditional navigation.

Perhaps i'm wrong.

Ryan.
LucasAnderson replied on at Permalink Best Answer Reply 1 Attachment
LucasAnderson
Concrete5 already includes jQuery at it's core, so you wouldn't need to call it again and all your effects should remain.

It'll take a bit of tweaking, but you'll need to create a custom template for the auto-nav block. You can learn more about custom templates here:

http://www.concrete5.org/documentation/general-topics/custom-templa...
http://www.concrete5.org/documentation/how-tos/customize-a-block-s-...

I have also attached an example of a custom template that uses multi-level links for the auto-nav. Hopefully this will help you.