Announcement

Collapse
No announcement yet.

Breadcrumbs missing from CTGY page

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

    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.

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    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?
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      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.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


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

        Comment


          #5
          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...
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            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...
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment


              #7
              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?
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #8
                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'">

                Comment


                  #9
                  Thanks, Leanne
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                  Comment

                  Working...
                  X