Quote:
Originally Posted by Kirk Y
Then you don't need to use this plugin.
Instead use template conditionals to output a header based on what page the user is viewing.
Example:
Code:
<if condition="THIS_SCRIPT == 'index">Show this only on the Index<else />Show this on pages other than the Index</if>
That's a very basic example, if you'd like some more information: http://www.vbulletin.com/docs/html/t...e_conditionals
|
Tried it but it still doesn't work. It just shows both in one ad block. Could it be that the ad block does not allow php code?
--------------- Added [DATE]1202145412[/DATE] at [TIME]1202145412[/TIME] ---------------
This is the code i tried but it shows the ad code and the text:
<if condition="THIS_SCRIPT == 'index'">
<center><script type="text/javascript"><!--
google_ad_client = "pub-8336492106717154";
//120x60, created 1/25/08
google_ad_slot = "4645103244";
google_ad_width = 120;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<center/>
<else />
This text
</if>