![]() |
I am trying to add an image in home.tpl...
I am trying to add a banner advertisement above the featured products portion on my home page... I added the image source in skin1/customer/home.tpl. Then I placed the image source above the featured product code and it worked. But now my issue is that the banner advertisment is in everypage and I only want it for the main page. Please help?
www.shopthefizix.com |
{if $main eq "catalog" or $current_category.category eq ""}
your code {/if} |
where do i insert this line of code?
Quote:
where would I insert this line of code? I added it in the home.tpl and it still shows the banner on other pages. |
Re: where do i insert this line of code?
Quote:
In 4.1.0 this works if you just want to display on the main page... {if $current_category.category eq ""} YoUr CoDe {/if} |
All times are GMT -8. The time now is 02:36 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.