
01-13-2005, 09:00 AM
|
|
 | |
|
|
 X-Guru
|
|
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
|
|
|
once you have a var in the url you can use smarty in your templates to check for it as follows
if your url = http://yoursite.com/?myvar=value
Code:
{if $smarty.get.myvar}
do this
{else}
do this instead
{/if}
http://smarty.php.net/manual/en/language.variables.smarty.request.php
|
|