Announcement

Collapse
No announcement yet.

Breadcrumbs missing from CTGY page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • lesliekirk
    replied
    Thanks, Leanne

    Leave a comment:


  • Leanne
    replied
    So if it's checking for CTGY in g.screenCheck it's going to find a match because CTGY is in there as part of CTGY_FABSTORE. Try changing the conditional to:

    Code:
     
     <mvt:if expr="NOT (',' $ toupper(l.settings:page:code) $ ',' IN g.screenCheck) AND l.settings:page:code NE 'SFNT'">

    Leave a comment:


  • lesliekirk
    replied
    Hmmmm, I tried something to see if it had an affect (based on the question asking me about conditionals)

    What is this conditional supposed to do:

    Code:
    <mvt:if expr="NOT (l.settings:page:code CIN g.screenCheck) AND l.settings:page:code NE 'SFNT'">
    Doesn't this check to see if the page code is in the screen check and makes sure it's not the SFNT?

    If I add this conditional around the breadcrumbs code, the breadcrumbs stop working on the CTGY screen. I went and looked again at the screenCheck

    Code:
    <mvt:assign name="g.screenCheck" value="'ABAL,ACAD,ACED,AFAD,AFCL,AFED,ACLN,BASK,CTGY_FABSTORE,CEML,CPWD,FPWD,GFTL,INVC,LOGN,LOGOUT,OCST,OPAY,OPRC,ORHL,ORDH,ORDL,ORDS,OSEL,OUS1,OUSL,OUSM,PLMT,PRINTP,RGFT,SFNT,SRCH,UATM,UATR,WLAD,WLED,WISH,WLGN,WLST,WPCK'" />
    CTGY is not in the list and I am very, very, very sure I am not using the CTGY_FABSTORE. But I started wondering if that underscore was the breaking point. It looks like it may have been in this instance.

    Very, very odd because I have used an underscore before in my category codes, then added them to the screenCheck list without any apparent problem. Is this a bug or an expected behavior?

    Leave a comment:


  • lesliekirk
    replied
    and if I replace the token in the Global Header with the code it works. So for now I'm going with the code and ditching the token...

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by AHerb View Post
    Check global headers (User Interface -> Settings -> HEAD Tag Content & also User Interface -> Settings -> Breadcrumbs), some themes have quite a few checks for breadcrumbs there.
    Sorry for the delay in my reply. I'm not seeing anything jump out at me. I added the code from the Smart Breadcrumbs to the CTGY Page template and it displays. It doesn't make sense as to why the token in the Global Header isn't.

    I even wrapped comments around the token to make triple sure I hadn't put it inside some sort of conditional. I see the comments in the source, just no breadcrumb on the CTGY page

    Code:
     <!-- BOF Breadcrumbs token -->
    <!-- EOF Breadcrumbs token -->
    I've even tried unassigning and reassigning the item to the page. This one has me baffled...

    Leave a comment:


  • AHerb
    replied
    Check global headers (User Interface -> Settings -> HEAD Tag Content & also User Interface -> Settings -> Breadcrumbs), some themes have quite a few checks for breadcrumbs there.

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Matt Zimmermann View Post
    HI Leslie,

    Is there a conditional in the global header or the breadcrumb item which is checking for the category page and not displaying them?
    Conditional as in to not display it?


    I discovered on another category template that the breadcrumbs are displaying and it has the category tree assigned to it.

    At the same time, I also noticed that the pagination isn't working on the category template that the breadcrumbs are not working on.

    Leave a comment:


  • Matt Zimmermann
    replied
    HI Leslie,

    Is there a conditional in the global header or the breadcrumb item which is checking for the category page and not displaying them?

    Leave a comment:


  • lesliekirk
    started a topic Breadcrumbs missing from CTGY page

    Breadcrumbs missing from CTGY page

    I'm trying to figure out why the Smart Breadcrumbs are missing from the CTGY. I have checked the two obvious things:

    Is the token on the template page? - Yes

    Is the item assigned to the page? - Yes

    The unique thing about this CTGY page is that it doesn't use the default category tree. It uses Power Search filters. The breadcrumbs do work on other pages.

    I can't post a link because it's a dev site behind a password protected directory.

Working...
X