Thread
:
common if/then modifications I make to x-cart...
View Single Post
#
136
05-31-2012, 12:26 PM
Jon
X-Guru
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
Re: common if/then modifications I make to x-cart...
Quote:
Originally Posted by
PhilJ
Code:
{if $smarty.get.pageid eq "1"} ... {/if}
Better to use this code in case they are using CDSEO or clean urls which won't have the pageid in the url:
Code:
{if $page_data.pageid eq 'X'} I am on page X. {/if}
Jon
View Public Profile
Visit Jon's homepage!
Find all posts by Jon