how to combine modifyer: popup and get_string
| From: | Ronan PAUL | Date: | Fri, 18 Apr 2003 12:41:17 +0000 |
| Subject: | how to combine modifyer: popup and get_string | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9313@lists.php.net to get a copy of this message | ||
Hello,
I am using my own modifyer, get_string, which calls a PHP function which returns a string based on its ID:
{get_string id="55"} will echo "Hello World".
Now, I want to send this value as the text of a popup. Something like:
{popup text="{get_string id="55"}"}
Excepted this syntax does not work !
How can I achieve that (I have tons of strings so I would like a solution that does not require me to manually create a string for *each* id).
Thank you for your help,
Ronan PAUL
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp