Re: [SMARTY] Smarty replace question

James Turner <[email protected]> Tue, 26 Dec 2006 19:18:48 -0500 (EST)
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
The problem is the $id variable contains more then just the username 
james, it's actually the cvs $Id$ from my main php file.  I assign it to 
$id, and I want the username james to have the mailto.  Like I said using 
replace with the normla ahref tag works but using {mailto} within the 
replace doesn't work.  Thanks.

On Tue, 26 Dec 2006, Max Schwanekamp wrote:

> James Turner wrote:
>> I was wondering if it is possible to call {mailto} within a replace. 
>
> Why don't you just make a modified mailto plugin that will output the link 
> the way you want it?
>
> -- 
> Max Schwanekamp
> NeptuneWebworks.com
> 541-517-9064
>

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php