Quoth Dermot on 11/4/2009 7:03 AM...

> LID=[% userid %] # This appears correct (EG 1234)
> interpolated=[% $userid %]  # This is empty.
> interpolated=[% ${user.id} %] # This is empty.
> 
> <a href="[% subs.makeUserLink(userid=>$userid )">
> 
> I can't seem to get the userid variable interpolated within the call
> to subs.makeUserLink() . $userid is empty. I can't see where I am
> going wrong. Can anyone offer any hints?

What it seems like you want is:

LID=[% userid %] # This appears correct (EG 1234)
interpolated=[% userid %]
interpolated=[% user.id %]

<a href="[% subs.makeUserLink( { 'userid' => userid } ) %]">

-FG

-- 
Felipe Gasper
Linux/BSD development

cPanel of Texas, LLC
3701 Kirby Dr., suite 428
Houston, TX 77098
office 713-529-0800 x4096
cell 832-633-8092
fax 713-559-3206

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to