Hi
I've used a code (and the 'Sourcerer' plugin) as the default value in a text field:
{source 0} <?php $url = htmlspecialchars($_SERVER['HTTP_REFERER']); echo "<a href='$url'>Back To Search</a>"; ?> {/source}
to create a link back to search results when an item has been viewed. Ideally I'd like this to be a button (preferably the UIKIT class) but if I include a class in the echo statement it breaks the code.
Is there another way of getting a back to search results button?
Thanks.