*** J Huntley Palmer escribió/wrote (Mon, 03 Jul 2006 22:40:44 -0400):
Whenever I put in a smarty variable in a link definition as :
<a href="{$foo->bar}">foo</a>,
it shows up as a literal as above in the link and not the contents of
the variable itself. Everywhere else in the template .. variable
substitution works fine.
http://smarty.php.net/manual/en/lang...tax.quotes.php
"Smarty will recognize assigned variables embedded in double quotes so
long as the variables contain only numbers, letters, underscores and
brackets []. With any other characters (period, object reference, etc.) the
variable must be surrounded by backticks."
Hope this helps
--
-+
http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web:
http://bits.demogracia.com
+- Mi web de humor con rayos UVA:
http://www.demogracia.com
--