Announcement

Collapse
No announcement yet.

HTML Markers showing in best seller lists.

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

    HTML Markers showing in best seller lists.

    Hello all.

    We have on our sites home page a list of best sellers and new products. Nothing new you might say however we have noticed something strange happening recently.

    When using coloured text etc in the product description the Code Markers (!!< & >!!) are showing in the best sellers and new product descriptions.

    Does anyone know how to get rid of these?

    Many Thanks

    Gareth
    www.flytesofancy.co.uk, www.electricfencingkits.co.uk, www.dorsetlogstores.co.uk, www.framebow.co.uk

    #2
    You seem to be using a tweak to limit the number of words shown?

    If so, post a link to the tweak and also try searching for other relevant posts regarding it.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      If your tweak has the line:
      Code:
      $sOriginal = '<actinic:variable encoding="perl" name="ProductDescription" selectable="false" />';
      Replace it with:
      Code:
      $sOriginal = <<<ENDOFDESC
      <actinic:variable name="ProductDescription" selectable="false" />
      ENDOFDESC;
      $sOriginal = strip_tags($sOriginal);
      Note that the line ENDOFDESC; must not be indented. It must start at the left margin.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X