Thread
:
How do you vary the Header via Category?
View Single Post
#
2
07-22-2009, 11:56 AM
pauldodman
X-Guru
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
Re: How do you vary the Header via Category?
One way to do this is to hard code the images in within an if statement.
{if $cat eq "1"} image1 {elseif $cat eq "2"} image2 {else} mainimage {/if}
getting the no from the category IDs.
__________________
Paul Dodman
e-business & m-commerce consultant
w:
www.luminointernet.com
e:
xcart@luminointernet.com
Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
pauldodman
View Public Profile
Send a private message to pauldodman
Visit pauldodman's homepage!
Find all posts by pauldodman