Page 1 of 1

Breadcrumbs in Products Module throwing out bad links

Posted: Wed Jun 08, 2011 5:28 pm
by pixelita
Hi, all. Yeah, I know you're probably sick of me, huh? I'm still working on this ecommerce site and one of the final issues is the breadcrumbs.

Here's the store:
http://honfish.pixelita.net/store

Login (turn speakers down; video plays on pageload!)
USERID: Client
PWORD: letmein

I have two problems with the breadcrumb links. In the summary template, they don't appear at all. In the detail template, they show up, but are dead links.

SUMMARY TEMPLATE DETAILS:
I have this code in the active summary template (HFC-Summary-Video-Alt) at the top, right before the "gray-box" division:

UPDATE: i didn't have the breadcrumb code in this template. But now I do. So it shows up. But shouldn't it look like this:

Code: Select all

Home > Fresh Fish 
or

Code: Select all

Home > Gourmet Exotics 
when you are on those pages, not just

Code: Select all

Home >
?

Code: Select all

<div class="store-item">
{if isset($catformstart)}
{$catformstart}
{$catbutton}
{$catformend}
{/if}

{if isset($pagecount) && $pagecount gt 1}
{$firstlink} {$prevlink} {$pagetext} {$curpage} {$oftext} {$pagecount} {$nextlink} {$lastlink}
{/if}
<div class="graybox">

[I just now added the breadcrumb code, duh!]
But no breadcrumb links show up on the summary page. They should appear below the video and above the gray box, right? Here are demonstrative links, these are links to the two different hierarchies I have going, Fresh Fish and Gourmet Exotics:

http://honfish.pixelita.net/store/byhierarchy/15/93/
http://honfish.pixelita.net/store/byhierarchy/14/93/

Now, it gets worse on the detail template. The breadcrumbs are THERE just as they should be, but when you click on them, they go to a borked template. I cannot figure out where this template is that CMSMS is generating either.

DETAIL TEMPLATE DETAILS:

I have the following code in the active detail template (HFC-Detail-Video-Alt):

Code: Select all

{if is_array($entry->breadcrumb)}
Breadcrumb: {' » '|implode:$entry->breadcrumb}
{/if}
<p class="breadcrumb"><strong>Home » {$entry->breadcrumb}</strong></p>
However when you click on the link that code produces, it goes to a blank page -- a page which is using a template that doesn't even have the video/page panel loaded. What template is it using?

Here is a demonstrative link, this is a product under Fresh Fish:
http://honfish.pixelita.net/store/20/Ha ... u-Sashimi/

Notice the breadcrumb link displays nicely in the template? But click the breadcrumb link and you'll see the problem.

It takes you to this page, with the borked template:
http://honfish.pixelita.net/store/hiera ... Fresh-Fish

HOWEVER, if you click from the links in the sidebar, it works just fine and takes you to this link for the Fresh Fish summary pages:
http://honfish.pixelita.net/store/byhierarchy/14/93/

Same thing for Gourmet Exotics:
From the top of any detail page, it links to this (dead):
http://honfish.pixelita.net/store/hiera ... t-Exotics/

Click from the sidebar and it takes you here (correct link):
http://honfish.pixelita.net/store/byhierarchy/15/93/

Why is it putting in /hierarchy/ instead of the correct /byhierarchy/?

Thanks for any help.