Re: [SMARTY] {include} problem
| From: | philippe dot morange at ca-indosuez dot com | Date: | Wed, 12 Mar 2003 09:16:43 +0000 |
| Subject: | Re: [SMARTY] {include} problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8566@lists.php.net to get a copy of this message | ||
Updated to Smarty 2.5.0 RC1
It works well now, thanks.
I'm really glad it does :-)
Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR@BANQUE INDOSUEZ le 12/03/2003 09:57:46
Pour : smarty-general@lists.php.net
cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR)
Objet : Re: [SMARTY] {include} problem
> > none of the following works:
> > {include file="menu_elt.tpl"
> link=$general.path$general.link_view_all."&val=true"}
> > {include file="menu_elt.tpl"
>
> link="$general.path"."$general.link_view_all"."&val=true"}
>
>
> The trick is to use back ticks: `
> {include file="menu_elt.tpl"
>
> link="$
general.path$general.link_view_all&val=true"}
>
> Attention: The back ticks come beyond the dollar sign!
>
>
> bye,
> André
Well this does not work and outputs: .../webrx/html/
$general.path_cms$general.link_view_all&val=true
I'll try to update to Smarty 2.5.0 RC1 (I currently have version 2.4.0)
I'll keep you posted, thanks.
Philippe.
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php