how to acces array keys that start with '#'

[email protected] (Jörg Hermsdorf) Thu, 5 Apr 2007 02:22:02 -0700 (PDT)
Newsgroups php.smarty.general
Message-ID <[email protected]>
The drupal programmers use a lot array keys that start with '#' (e.g.
$field['#value'], $field['#weight'], $field['#description'], ...).
How can I access such array elements from within a smarty template?

If I use {$field.#value} I get a smarty syntax error: unrecognized tag.

Using {$field.'#value'} or {$field.[#value]} or {$field.['#value']} doesn't work either. Do I have to escape the # somehow?




		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de