Announcement

Collapse
No announcement yet.

"Best Sellers" links are broken

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

    "Best Sellers" links are broken

    I am using Smart theme in Business 8.0.
    The Best Sellers list is useful, but the links are all broken. Instead of displaying a product link it is showing this kind of thing!

    http://www.ampleforth.org.uk/cgi-bin/ss000001.pl?PRODREF=<span%20class='actlarge'><span%20style='font-family:%20Arial;color:%20#800000;'><strong>BK004</strong></span></span>&NOLOGIN=1

    Strangely, the links for New products work fine.
    What should I do to correct this?

    #2
    Have you tried resetting the layout back to default.

    Comment


      #3
      There are at least 2 conflicting design statements (possibly 3 with the <strong> element) in that link and none of them should be in there (they should wrap the link text not be part of the actual link)... the link is trying to find a product called "<span%20class='actlarge'><span%20style='font-family:%20A...... etc" which obviously does not exist.

      Once you have reset as Duncan suggested you would be better creating a new class in the CSS to create a link specific to the best sellers links (if needed). It may be an option to duplicate the layout after resetting and work on the duplicate as some layouts can affect other elements on the page.


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Still a problem

        Thanks guys for the suggestion. I renewed the layout, reverted the layout to the factory settings, but the link that actinic is automatically generating is still gibberish! I have not altered these styles, you understand. They are just happening 'out of the box'.
        The rogue layout is "Sidebar Best Seller List In A Box".
        I have stripped the best seller box right out of the layout and then reentered it, with factory defaults, and it still generates this nonsense.
        What I don't understand is why the New Products box is behaving perfectly well, producing well made links.
        I'm tearing my hair out here!

        Comment


          #5
          Looking at http://www.ampleforth.org.uk/acatalog/index.html I see no problems.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            I finally fixed it just a few seconds before you looked at it and posted your last message Norman!

            I tried renewing the layout, reverting the layout to factory settings, even reloading Actinic itself, but no joy.

            Then I found this gremlin in the code - hiding way off screen:

            <actinic:variable name="ListIndex" />. <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable formatting="style|actlarge,font(Name|Arial|Color|800000),bold" encoding="html" name="ProductReference" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><actinic:variable name="ProductName" /></a>

            Once I deleted that (and goodness only knows where it came from - I hadn't edited the formatting at all) everything runs perfectly.

            Comment

            Working...
            X