what is the best way to apply a varaible modifier within a text string
| From: | lpenou | Date: | Sat, 14 May 2005 08:28:53 +0000 |
| Subject: | what is the best way to apply a varaible modifier within a text string | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12636@lists.php.net to get a copy of this message | ||
Hello
I'm looking for the best way to apply a modifier to a variable, but this variable have to be used in a string, for example
{include file="navigator.tpl" title="This is the Navigator title
for $item|capitalize"}
capitalize has to be applied only on $item and not the full string
did someone ave a simple solution ?
regards
Laurent