echamberlain
01-16-2007, 10:28 PM
How do you use THIS_SCRIPT in a template outside of a conditional statement?
I need the value stored in THIS_SCRIPT to print in some template javascript code so phpAdsNew can track the ad request source.
Adding
<script type="text/javascript"> <!--
// phpAdsNew variables
var panSource = "THIS_SCRIPT";
// --> </script>
to the template doesn't work. THIS_SCRIPT is passed to javascript.
I need the value stored in THIS_SCRIPT to print in some template javascript code so phpAdsNew can track the ad request source.
Adding
<script type="text/javascript"> <!--
// phpAdsNew variables
var panSource = "THIS_SCRIPT";
// --> </script>
to the template doesn't work. THIS_SCRIPT is passed to javascript.