Re: [SMARTY] Using modifiers with custom functions
| From: | Samuel Abels | Date: | Sun, 24 Jul 2005 19:42:05 +0000 |
| Subject: | Re: [SMARTY] Using modifiers with custom functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12831@lists.php.net to get a copy of this message | ||
On So, 2005-07-24 at 12:31 -0700, boots wrote:
> In other words:
>
> {func|replace:"[VAR]":"REPLACEMENT" text="testarg"}<br>
Ah, thanks, this is exactly what I was looking for. It works fine.
> BTW: on your last post you asked about assigning a function to Smarty.
> I assume you got that resolved and no longer are trying to do things
> like that.
Yes, I got an answer off-list that helped me solve the problem. (By
using the code that I posted in my second email.)
Thanks again,
-Samuel