{if} statement to show content only on home page
In the third column of content on home.tpl, I want to add an {if} statement that would display certain content in that cell on the home page, but other content/modules on all other pages. I am not sure how I would go about this, as I do not know how to get the current page variable. If I wanted it within a category, I know I could do
Code:
{if $cat eq "14"}stuff I want to show{else}show this other stuff instead{/if} What can I use for the home page to get the same result? |
look in skin1/customer/home_main.tpl and youl see how it works
look for welcome.tpl |
That's exactly what I needed. Thanks so much!
:D |
can this be done also for the company logo.
I want next: when customer enters site display the default normal logo, if he goes further i want to display an other logo. And even more i want that when i customers goes for instance to a product, i want another logo to be displayed... Is this possible, if so, how? Thnx in advance |
Already found it, it can be done.
|
All times are GMT -8. The time now is 01:23 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.