Combining strings in function calls
| From: | Jan H. Andersen | Date: | Mon, 16 Dec 2002 16:34:19 +0000 |
| Subject: | Combining strings in function calls | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6834@lists.php.net to get a copy of this message | ||
Hello,
Is it possible to combine two strings when using them as a parameter for a
function call. E.g.:
{myfunction var=$documentname . '/thumb'} or {myfunction var=$documentname .
$somethingelse}
I can't find any smarty constructs or modifiers that will do this, and I've
tried any possible combination that I can think of. I can of course just
write a small modifier, but if it's already in smarty, I'll prefer to do it
that way.
Kindest regards,
Jan