View Single Post
  #10  
Old 06-09-2011, 12:53 AM
 
JoeS JoeS is offline
 

Senior Member
  
Join Date: Dec 2008
Posts: 124
 

Default Re: Different Photo based on Page

Quote:
Originally Posted by balinor
Depends on where you want the image to show...adding it to the category details restricts the image to that area. The {if} statement I posted can be used anywhere....footer, header, side menu, etc.

This if statement does not work for me, do you have an updated one please as I am obviously looking at some 3 year old post, I used the following on home.tpl:

{if $main eq "catalog" and $cat eq "3"}
<div align="center">
<a href="http://website url here"><img src="{$ImagesDir}/dpq.gif" width="180" height="288" align="center" alt="DPQ"/></a>
</div>
{/if}
__________________
xcart gold plus 4.6.5
responsive customized skin
responsive menus
cdseo + on sale + smart predictive search
Reply With Quote