PDA

View Full Version : Adding txtlinkads php code to index page only ?


Luffe
03-31-2006, 11:21 AM
Hi guys

I was trying to join textlinkads.com affilitiate program, but i cant seem to get thier php code to work.

I need to display it under my categories, and only on index page,

Anyone using them that can help ?

Thanks in advance

Luffe

mikedippel
03-31-2006, 11:30 AM
I believe that putting the code between {literal} tags should work. That is:
{literal}
code
{/literal}

Luffe
03-31-2006, 11:37 AM
Tried that, wont work :(

vegabond
03-31-2006, 12:12 PM
Content visible to registered users only.

may be it can help u.

Content visible to registered users only.

put this code where u want to show that. and make a html file with ur code.
thats it.

Thanks
Shabu anower

Neticus
03-31-2006, 12:54 PM
For smarty templates to interpret php code you may also have to put

{php}
around your affiliate code.
{/php}

thompson
03-31-2006, 03:10 PM
very helpfull. thanks.

Luffe
03-31-2006, 06:18 PM
You got it working, Thompson ?

vegabond
04-01-2006, 05:35 AM
Content visible to registered users only.

where u want to put {php}{/php} tag?


Thanks
Shabu anower