Jump to content

Breadcrumb to display on cat/subcat pages?


Guest johnnytv

Recommended Posts

Guest johnnytv

I've got a breadcrumb in place on the view product page, using the following code:

<p id="breadcrumb"><strong>You are in:</strong> <a href="index.php" class="txtLocation">Home</a>{CURRENT_DIR}</p>

but {CURRENT_DIR} only gets populated on this page, if I put the above code into other files I just get the homepage link showing up, ideally I'd like the breadcrumb on all pages other than the homepage.

Is there a way to do this? Do I need to assign the CURRENT_DIR value on each page in the includes/content directory, or maybe just once in the globals instead for example?

Help would be much appreciated

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...