Desired effect:
Current location:
Your current location: Homepage>>Products>>Dandelion Series>>Clothing Management System>>Product Details
But put the calling tag:
Your current location:
Homepage>>{catpos($r['catid'])} Product Details
The result is:
Homepage>>Product Dandelion Series>>Clothing Management System>>Product Details
Missing>>
Hang, I looked at the global.func.php file and found this paragraph:
function catpos($catid, $urlrule = '')
{
global $CATEGORY;
if(!isset($CATEGORY[$catid])) return '';
$pos = '';
$arrparentid = array_filter(explode(',', $CATEGORY[$catid]['arrparentid'].','.$catid));
foreach($arrparentid as $catid)
{
if($urlrule) eval("$url = "$urlrule";");
else $url = $CATEGORY[$catid]['url'];
}
return $pos;
}
The red part didn’t exist before! After adding it, you can achieve the desired effect!
http://www.bkjia.com/PHPjc/477560.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477560.htmlTechArticleDesired effect: Current location: Your current location: Home page products Dandelion series clothing management system product details but put Enter the call tag: Your current location: a href=Homepage...