| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Show image on home page only | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I added some code to my head.tpl that tells it to show a different header image for the home page. For the most part, this works well but there is one page that is showing the wrong image, and that is the newsletter signup confirmation page.
http://72.32.121.173/home.php?mode=subscribed&email=m%40b.com Does anyone know how I might alter this code to make this page show the right header image? Code:
This store is V 4.1.2
__________________
~ Andrea Beight |
|||||||||
#2
|
|||||||
|
|||||||
![]() Flip the statement:
{if $main eq "catalog" and $current_category.category eq ""}<img src="{$ImagesDir}/custom/logo_splash.gif" alt="Tracy Porter" border="0" width="480" height="49" />{else} <img src="{$ImagesDir}/custom/logo.gif" alt="Tracy Porter" border="0" width="480" height="49" />{/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks for the quick reply, Padraic. Even when I flip the code it still shows the wrong header on the newsletter confirmation page. *scratching head*
__________________
~ Andrea Beight |
|||||||||
#4
|
|||||||
|
|||||||
![]() How about this...
{if $main eq "catalog" and $current_category.category eq "" and $smarty.get.mode ne "subscribed"}<img src="{$ImagesDir}/custom/logo_splash.gif" alt="Tracy Porter" border="0" width="480" height="49" />{else} <img src="{$ImagesDir}/custom/logo.gif" alt="Tracy Porter" border="0" width="480" height="49" />{/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() That did the trick! Thanks so much!!
![]()
__________________
~ Andrea Beight |
|||||||||
|
|||
X-Cart forums © 2001-2020
|