Joomla, passing a querystring parameter to a link in an article

Posted by Pete Nelson on Stack Overflow See other posts from Stack Overflow or by Pete Nelson
Published on 2010-06-11T19:28:29Z Indexed on 2010/06/11 19:32 UTC
Read the original article Hit count: 567

Filed under:
|

We have some banner ads linking to an article in Joomla and they are passing a reference code in the URL, like this:

index.php?option=com_content&view=article&id=378&Itemid=249&ReferenceCode=WB6074

Inside the article, we're linking to a signup form on another web site and we need to pass the reference code in that URL's querystring.

How do I do this?

Is there a way to embed PHP in an article? If so, then I could just use $_GET["ReferenceCode"] to stick that parameter in the URL.

© Stack Overflow or respective owner

Related posts about joomla

Related posts about Article