Re: [SMARTY] Réf. : [SMARTY] cons tant arguments

From: Date: Fri, 10 Jan 2003 17:06:26 +0000
Subject: Re: [SMARTY] Réf. : [SMARTY] cons tant arguments
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7116@lists.php.net to get a copy of this message
philippe.morange@ca-indosuez.com wrote:
Well I'd say that you can use #var# only when you use a config file at the beginning of your template... I may be wrong, but that's what I'd say. paul@dostuff.net le 10/01/2003 01:03:20 Pour : Smarty List <smarty-general@lists.php.net>
cc :    (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR)
Objet :     [SMARTY] constant arguments
How come this works: {include file=3D"common_header.tpl" pageTitle=3D"Search $siteName" pageHeader=3D"Search $siteName"} but this doesnt: {include file=3D"common_header.tpl" pageTitle=3D"Search #siteName#" pageHeader=3D"Search #siteName#"} Is it something I'm doing wrong? It seems like both should work.
Let's assume for a moment that I do indeed have a config file included and that I can reference that variable in all other situations normally. -- Paul Lockaby paul@dostuff.net http://www.dostuff.net

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