Tabber - Removing tabber headings from 1st 10 words patch.
Posted: Fri Jun 29, 2007 9:16 am
If you are using the Advanced Guide "Only Displaying the First Ten Words of the Full Description" in your New Products or Best Sellers layout and you want to remove any Tabber headings, e.g. {Info} then the following will help.
Edit the First Ten Words code and look for the line
Immediately after this add
Edit the First Ten Words code and look for the line
Code: Select all
$sOriginal = '<actinic:variable encoding="perl" name="ProductDescription" selectable="false" />';
Code: Select all
$sOriginal = preg_replace('/\{.*?\}/', ' ', $sOriginal); // remove tabber headings