Posted by boots on 11/05/05 03:34
--- "A.J. Brown" <aj@bitnotion.com> wrote:
> Is there any way to use modifiers on embedded variables using
> backticks?
[..snip...]
> However, I've run across similar situations where using {assign} was
> not appropriate, and I've had to resort to formatting the string in
> the business logic :(. Is there any way to use modifiers on
> `backticked` variables that I'm missing?
No, it is not supported. Backticks do not start a new context.
Why is assign not appropriate? Have you considered {capture} for more
complicated texts? Another trick when using {popup} is to use a JS
callback to assign the text:
<script>
function MyPopuptext() {ldelim}
return '{$popuptext|escape:"javascript"}';
{rdelim}
</script>
<a href="javascript:void(0);" {popup
function="MyPopuptext()"}>{$data[list].idusers}</a>
boots
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
[Back to original message]
|