Réf. : [SMARTY] constant arguments
| From: | philippe dot morange at ca-indosuez dot com | Date: | Fri, 10 Jan 2003 09:18:05 +0000 |
| Subject: | Réf. : [SMARTY] constant arguments | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7108@lists.php.net to get a copy of this message | ||
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.
--
Paul Lockaby
paul@dostuff.net
http://www.dostuff.net
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
==========================================================
Ce message et ses pièces jointes (le "message") est destiné à l'usage exclusif de
son destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et
de le
détruire ensuite. Le présent message pouvant être altéré à notre insu, Crédit Agricole
Indosuez
ne peut pas être engagé par son contenu. Tous droits réservés.
This message and/or any attachments (the "message") is intended for the sole use of its
adressee.
If you are not the adressee, please immediately notify the sender and then destroy the message. As
this message and/or any attachments may have been altered without our knowledge, its content is
not legally binding on Crédit Agricole Indosuez. All rights reserved.
==========================================================