Smart Breadcrumbs duplicating landing page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9296

    #1

    Smart Breadcrumbs duplicating landing page

    I'm using the default Smart Breadcrumbs code but for some reason it's now duplicating the page name that it land on

    Code:
    <ul>    <li><a href="&mvt:breadcrumbs:homelink;" class="breadcrumb-home">Home</a><span class="breadcrumb-border">&raquo;</span></li>
        <mvt:foreach iterator="cats" array="breadcrumbs:links">
                <mvt:if expr="l.settings:cats:name EQ '...'">
                    <li><span class="cats-hidden">&mvt:cats:name;</span><span class="breadcrumb-border">&raquo;</span></li>
                <mvt:elseif expr="l.settings:cats:code EQ l.settings:breadcrumbs:current_item:code">
                    <li><span class="current-item">&mvt:cats:name;</span></li>
                <mvt:else>
                    <li><a href="&mvt:cats:link;">&mvt:cats:name;</a><span class="breadcrumb-border">&raquo;</span></li>
                </mvt:if>
        </mvt:foreach>
    </ul>
    <div class="clear"></div>
    becomes




    Home» Shop All Categories» Shop for BooksShop for Books

    when it should be


    Home» Shop All Categories» Shop for Books
    Only the breadcrumb token is being used
    Code:
    <mvt:item name="breadcrumbs" />
    Thoughts?
    Leslie
    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: X | Facebook | Pinterest
  • Bruce - PhosphorMedia
    Developer Partner











    • Mar 2006
    • 11256

    #2
    Re: Smart Breadcrumbs duplicating landing page

    Hmm, here I thought it was only me...had this happen on two dev sites we play with...since we don't need them, we just ignore it...let me go look though.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment

    • Bruce - PhosphorMedia
      Developer Partner











      • Mar 2006
      • 11256

      #3
      Re: Smart Breadcrumbs duplicating landing page

      Odd, our Inspector tool is showing a duplicated content in the Breadcrumb array.



      There is only one BreadCrumbs item assigned. This is a pretty basic store (though it gets hammered on cause its one of our module dev sites).
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment

      • Brennan
        Super Moderator









        • Jun 2009
        • 3481

        #4
        Re: Smart Breadcrumbs duplicating landing page

        This looks to be a bug in the 5.21 engine. It will be fixed in the next release.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment

        • netblazon
          Developer Partner




          • Mar 2006
          • 717

          #5
          Re: Smart Breadcrumbs duplicating landing page

          Same here. Brennan, would you post a reply when the update is done? We have this happening on a live site. Should we disable the breadcrumbs for now?
          Susan Petracco
          NetBlazon

          1.866.400.2444

          _____________________________________________

          Like us on Facebook

          Comment

          • Dan - Glendale Designs
            Mega Mivite


            • Sep 2006
            • 2904

            #6
            Re: Smart Breadcrumbs duplicating landing page

            This broke a number of SearchSpring integrations today where it was being used to deliver category results based on the breadcrumbs. SearchSpring was able to implement a workaround pretty quick, but you might want to double check things are working properly if you use it in this manner.

            Comment

            • SteveoSoule
              Web Developer



              • Oct 2011
              • 36

              #7
              Re: Smart Breadcrumbs duplicating landing page

              For the time being, you can also remove the duplicate breadcrumb link with the code that is described here: https://gist.github.com/steveosoule/...df227ab99d126d

              Comment

              • alphabet
                Mega Mivite





                • Aug 2006
                • 1160

                #8
                Re: Smart Breadcrumbs duplicating landing page

                Was this fixed in 5.22?
                http://www.alphabetsigns.com/

                Comment

                • Rick Wilson
                  Uber Mivite











                  • Aug 2007
                  • 10120

                  #9
                  Re: Smart Breadcrumbs duplicating landing page

                  Yes
                  Thanks,

                  Rick Wilson
                  CEO
                  Miva, Inc.
                  [email protected]
                  https://www.miva.com

                  Comment

                  Working...
                  X