PDA

View Full Version : Display something only on index.php


ChrisM
09-24-2008, 12:32 AM
Hi All,

I would like to display an image ONLY on the home page. Not on the search results page nor other pages, only the home page.

I tried this code: {if $category.ID eq 0 and $category.ID neq $p or $q}

But if I visit: index.php?list=latest, for example, the image still shows..

Please help..

James
09-24-2008, 01:56 AM
You got this already right?

ChrisM
09-24-2008, 01:58 AM
Ye mate, sorry, set the other topic to [solved]

James
09-24-2008, 02:15 AM
no biggy I just wanted to make sure :)