![]() |
changing underlying breadcrumb links
I've customized my site in such a way that the breadcrumb urls at the top of category/subcategory/product pages are incorrect. By default, these are .../home.php?.... , and it seems they come from the $location variable. I can't really grasp what's happening in location.tpl beyond the first few lines.
How can I set this variable? How can I change the underlying breadcrumb links? thanks |
In most .tpl's you'll find:
Code:
{ include file="location.tpl" last_location="Last Location" } This is in home.php which sets the first part of the location: Code:
if(!empty($current_category)) $location = $category_location; You can also find more in include/categories.php: Code:
$category_location[]=array(ereg_replace(".*/","",$val),"home.php?cat=".$categoryid); hth. ;) |
All times are GMT -8. The time now is 06:01 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.