Announcement

Collapse
No announcement yet.

Bug: Full Description in Search Results displays internal variable source code.

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

    Bug: Full Description in Search Results displays internal variable source code.

    Seen on 9.0.3.IMMA.

    If you use Links / Advanced Link in your product details and choose to display the Full Description in your search results, then <Actinic:Variable Name = 'LINK'/> appears in the search results list where the link should have been displayed.

    Workaround.

    You can hide the display of this variable by doing the following.

    Edit SearchScript.pl (in your Site folder).

    Look for the line:
    Code:
    			($status, $sTemp) = ACTINIC::ProcessEscapableText($Product{DESCRIPTION}); # properly encode the text
    Replace it with:
    Code:
    			my $sTemp2 = $Product{DESCRIPTION};
    			$sTemp2 =~ s/<Actinic:Variable Name \= 'LINK'\/>//ig;	# bugfix
    			($status, $sTemp) = ACTINIC::ProcessEscapableText($sTemp2); # properly encode the text
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    What would we do without you Norman - thanks
    Web design Bradford

    Comment


      #3
      I've just amended my Workaround to make it more human readable. Darren: best go back to the original SearchScript.pl and use the above.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X