Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Display content based on template

Quote Reply
Display content based on template
Hi, I'm trying to do something very simple, which is to display premium ads on my home page and other ads on the rest of the pages. I can't seem to find the correct syntax, but an illustration of what I'm trying to do is below:

<%if $template == 'home.html'%>
code to display home page ads
<%else%>
code to display other ads
<%endif%>

Anyone know this off the top of your head?


Jack R.
http://www.aeroseek.com/
Subject Author Views Date
Thread Display content based on template aeroseek 2499 Feb 3, 2006, 12:55 PM
Thread Re: [aeroseek] Display content based on template
brewt 2425 Feb 3, 2006, 6:20 PM
Thread Re: [brewt] Display content based on template
aeroseek 2397 Feb 3, 2006, 7:30 PM
Thread Re: [aeroseek] Display content based on template
brewt 2386 Feb 3, 2006, 7:39 PM
Post Re: [brewt] Display content based on template
aeroseek 2375 Feb 3, 2006, 7:48 PM