Re: Smarty 1.4.0b1 available

From: Date: Thu, 26 Apr 2001 18:11:06 +0000
Subject: Re: Smarty 1.4.0b1 available
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-603@lists.php.net to get a copy of this message
Hello all, I have a littel( and probably stupid) probkem I have a index.php file that instanciates smarty do some stuff then call a index.tpl templates that its self calls a whole bunch of templates in index.tpl i have : {config_load file=header.conf section="setup"} {include file="header.tpl"} {include file="bloc_haut.tpl"} {include file="bloc_central_haut.tpl"} {if $op == "article"} {include file="article.tpl"} {else} {include file="corps.tpl"} {/if} {include file="bloc_central_bas.tpl"} if the url is index.php -> corps.tpl is displayed and every thing is fine but if the url is index.php?op=article article.tpl is displayed and under corps.tpl (both are displayed as if the if/esle doesn't exist) Where did I screw things up ? Luc

« previous php.smarty.general (#603) next »