I'm trying to use the link from the variable SearchResultsLink, but without the built in 'a href'. Is there anyway to get at this and change it or duplicate the variable and create a modified one?
Announcement
Collapse
No announcement yet.
Search Results Link
Collapse
X
-
I guess it'd be the same or very similar to the Best/New sellers links:
Code:<a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><Actinic:Variable Name="ProductName"/></a>
-
What is my imagination, or did my post from yesterday disappear?
Anyway, Lee, in answer to your question again. Not 100% sure what you mean but I am testing online and it still doesn't work:
http://www.pixelcreation.co.uk/clien...ION&PR=-1&TB=A
The code I'm currently trying is:
Code:$link = '<actinic:variable encoding="perl" name="SearchResultLink" selectable="false" />'; $link = preg_replace('{.*HREF="(.*)".*}', "$1", $link); echo $link;
Comment
Comment