View Single Post
  #1  
Old 09-21-2005, 09:09 AM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default {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?
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote