Hallo, dear Federica!
My breadcrumbs work in a strange way. When I am inside the category 1 I've got the path: Back<Cat1 but both "Back" and "Cat1" links to category 1. I want to get rid of this duplicated structure. "BACK" should link to the list of categories!
http://u0201573.isp.regruhosting.ru/ (http://u0201573.isp.regruhosting.ru/)
Well, I solved the problem. I edited file helpers/icon.php and commented out a part of code:
<ul class="breadcrumb">
<?php /**
<li><a class="pathway" href="<?php echo JRoute::_(AbookHelperRoute::getCategoryRoute("0:root"));?>"><?php echo JText::_('COM_ABOOK_BACK_TO_TOP'); ?></a> <?php echo '»';?></li> */
?>
<?php
$n=count($category_parent);
if ($n>=1){
foreach ($category_parent as $k => $catname){
echo '<li><a class="pathway" href="' .$catname['link'].'">' .$catname['title'] .'</a></li>';
if ($k!=$n-1) echo ' » ';
}
}
?>
</ul>
I think it looks better now?
Hi anunja,
you are right.
if you publish a "category" menu the path is wrong. but If you publish a "Categories" menu the path is ok.
I will try to solve the problem