Announcement

Collapse
No announcement yet.

New products/best sellers bug

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

    New products/best sellers bug

    I am using the new products and best sellers with the patch to show only the first 10 words of the product description which works great. however when I format the first few words of text in the product description using the Actinic text options then the text showing in the best seller box show the actinic html code ie !!< >!!. Is it just me - cocked up the code or are other sites showing the same problem. I seem to remember a similar problem in beta testing with phase errors.

    #2
    THe php to cut the description down to 10 words does not work with !!<...>!! it only works if unformatted. If you are formatting the text in the description then you will need some different php.

    Comment


      #3
      Thanks duncan thought it may be something like that - php is not a strong point of mine.

      Perhaps a note in the AUG under the the description of the patch will avoid others having the same problem.

      Comment


        #4
        If your formatting is fairly simple then you might be able to add the formatting around the result of the php code. You could add other variables with the same duplicate block whose values could be the formatting.

        It's hard to describe but in the layout add a new variable inside the 'duplicate' block test before the php code. That variable could contain:
        <b>
        then add another variable in a similar way after the php code that could contain:
        < /b>

        That sort of thing might work - just depends how fancy you want your formatting.

        Comment


          #5
          Its not vital - I only noticed it because a site I am handing over started to show it when the owner was playing. He knows now and will watch out for it.

          Comment

          Working...
          X