Re: [SMARTY] Smarty replace question

From: Date: Wed, 27 Dec 2006 00:18:48 +0000
Subject: Re: [SMARTY] Smarty replace question
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13660@lists.php.net to get a copy of this message
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


« previous php.smarty.general (#13660) next »