Announcement
Collapse
No announcement yet.
Breadcrumbs missing from CTGY page
Collapse
X
-
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'">
- 1 like
Leave a comment:
-
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:
Doesn't this check to see if the page code is in the screen check and makes sure it's not the SFNT?Code:<mvt:if expr="NOT (l.settings:page:code CIN g.screenCheck) AND l.settings:page:code NE '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
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.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'" />
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:
-
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:
-
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.Originally posted by AHerb View PostCheck global headers (User Interface -> Settings -> HEAD Tag Content & also User Interface -> Settings -> Breadcrumbs), some themes have quite a few checks for breadcrumbs there.
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
I've even tried unassigning and reassigning the item to the page. This one has me baffled...Code:<!-- BOF Breadcrumbs token --> <!-- EOF Breadcrumbs token -->
Leave a comment:
-
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:
-
Conditional as in to not display it?Originally posted by Matt Zimmermann View PostHI Leslie,
Is there a conditional in the global header or the breadcrumb item which is checking for the category page and not displaying them?
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:
-
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:
-
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.
Tags: None
Leave a comment: