I am using the LINK module to embed clickable links in story content pages. In the box PHP code under "default content" I have the following.

{
if (isset($_SERVER['HTTP_REFERER'])) {
return array(array('value' => $_SERVER['HTTP_REFERER']));
}
}

This code snippet works in every other field where I plug it into the php code block under "default content" but no matter what I do, the LINK field remains totally blank.

I have the LINK module configured for static link title, open in new window, and nofollow.

It looks like the code to get the results of the PHP back to the URL fiels is broken.

Comments

MRivero’s picture

Priority: Critical » Minor
Status: Active » Closed (fixed)