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.
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.
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.
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.
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...
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...
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.
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.
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.
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.
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