Auto-Nav problem
Permalink
Hi fellow Concreters.
I have a problem with Auto-Nav the way it shows up. I attached picture.
I would like to have it like this:
HOME>ARTISTS>AMITYINFAME
But it shows up like this:
HOME>ARTISTSAMITYINFAME
I use custom template - Breadcrumb
Any help would be appreciated.
High five!
M.
I have a problem with Auto-Nav the way it shows up. I attached picture.
I would like to have it like this:
HOME>ARTISTS>AMITYINFAME
But it shows up like this:
HOME>ARTISTSAMITYINFAME
I use custom template - Breadcrumb
Any help would be appreciated.
High five!
M.
Hi mnakalay,
sure, here is the link:
I would like to have some sort of navigation so visitor can see on which site currently is.
Thanx for help,
M
sure, here is the link:
I would like to have some sort of navigation so visitor can see on which site currently is.
Thanx for help,
M
Hi again,
Sorry I was not clear enough. I didn't mean the website, I meant the code for the Breadcrumb template you are using.
Normally that template is just a few lines of code and pretty straightforward so your problems looks like the template was modified and something is missing.
You can find the file in root_of_your_website/concrete/blocks/autonav/templates or maybe in root_of_your_website/blocks/autonav/templates if you are overriding the original template
Sorry I was not clear enough. I didn't mean the website, I meant the code for the Breadcrumb template you are using.
Normally that template is just a few lines of code and pretty straightforward so your problems looks like the template was modified and something is missing.
You can find the file in root_of_your_website/concrete/blocks/autonav/templates or maybe in root_of_your_website/blocks/autonav/templates if you are overriding the original template
Hi,
aha, sorry I didn't understand.
Here is the code:
Thanx!
M
aha, sorry I didn't understand.
Here is the code:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $navItems = $controller->getNavItems(); foreach ($navItems as $ni) { if (!$ni->isFirst) { echo ' <span class="ccm-autonav-breadcrumb-sep">></span> '; } if ($ni->isCurrent) { echo $ni->name; } else { echo '<a href="' . $ni->url . '" target="' . $ni->target . '">' . $ni->name . '</a>'; } }
Thanx!
M
I don't see any problem, that's weird.
According to this code, the only way you would get the mistake you're getting is if the code decided the 3rd level was a first level and then it wouldn't show the ">"
According to this code, the only way you would get the mistake you're getting is if the code decided the 3rd level was a first level and then it wouldn't show the ">"
I know, and that's weird...
Can't get it right... buwah... :(
M
Can't get it right... buwah... :(
M
I figure out how to do it...
I overwrite concrete/block/autonav (right now I use concrete5.6.0.2) with an older version of it from (concrete5.6.1b4) and that's it. :0)
Thank you for your time.
M
I overwrite concrete/block/autonav (right now I use concrete5.6.0.2) with an older version of it from (concrete5.6.1b4) and that's it. :0)
Thank you for your time.
M
Hi again,
just in case you want to try something different so you don't have to use older stuff, check this post (apparently your problem is a known bug that was fixed in C5 5.6.1 the latest version)
http://www.concrete5.org/community/forums/usage/need-help-with-hard...
just in case you want to try something different so you don't have to use older stuff, check this post (apparently your problem is a known bug that was fixed in C5 5.6.1 the latest version)
http://www.concrete5.org/community/forums/usage/need-help-with-hard...
I think you would get more help if you posted the template so we can check the code because it really looks like a code problem