Jump to content

ViewProduct Breadcrumbs


bsmither

Recommended Posts

I noticed that when viewing the page for a product, I see:

Location: /Cat/Subcat/SubSubCat/SubSubSubCat/etc...

However, it seems that the name of the last subCat for which this product is a member of isn't in the form of a link.

Earlier I had written about the fact that \includes\functions.inc.php:getCatDir() does not do anything with one of the variables passed to it.

Well, to fix the link issue, find at about line 225:

$dirArray[0] = $config['dirSymbol'].$catName;




and make it (all one line)




$dirArray[0] = $config['dirSymbol'].

"<a href='".$GLOBALS['rootRel'].

"index.php?ccUser=".$sessId."&amp;catId=".

$catId."&amp;act=viewCat' class='txtLocation'>".

$catName."</a>";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...