Announcement

Collapse
No announcement yet.

<Actinic:Variable Name = 'LINK'/> is appearing in my search results. How can I get...

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

    <Actinic:Variable Name = 'LINK'/> is appearing in my search results. How can I get...

    <Actinic:Variable Name = 'LINK'/> is appearing in my search results. How can I get rid of it?

    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.

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

    * browse to your site folder and locate 'SearchScript.pl'
    * open the file in a text editor such as notepad
    * look for the line:

    ($status, $sTemp) = ACTINIC::ProcessEscapableText($Product{DESCRIPTION}); # properly encode the text

    * Replace it with:

    my $sTemp2 = $Product{DESCRIPTION};
    $sTemp2 =~ s/<Actinic:Variable Name \= 'LINK'\/>//ig; # bugfix
    ($status, $sTemp) = ACTINIC::ProcessEscapableText($sTemp2);
    # properly encode the text


    Solution kindly provided by Norman Rouxel of Drillpine

    SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Working...
X