![]() |
standard template image query?
Hi,
I have the standard template, the 3 category one supplied as standard. I have edited the /customer/home.tpl to add an image i only want displayed on the index/home/root of the site. However I have managed to make it so it displays at the top of every subsequent page? Does anyone know how I can isolate it so it only appears on home.php and not every other page!? many thanks in advance :D |
Moving to Template editing. You need to use an {if} statement:
{if $main eq "catalog" and $current_category.category eq ""} insert image code here {/if} |
All times are GMT -8. The time now is 09:28 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.