Page 1 of 1

how to pass var to a called template attribute ?

Posted: Wed Dec 21, 2005 3:05 am
by wene
hello

i have this :

    name = {ANAME}


and that :

   


i have use addVar to send a var to my actual template.
$tmpl->addVar('anothertmpl','my_name','aaa');

i need :
name = aaa

but the result is :
name = my_name

i have tried name={MY_NAME} too that returns :
name =

Re: how to pass var to a called template attribute ?

Posted: Wed Dec 21, 2005 3:37 am
by wene
:-[
ok, sorry, you can delete this post if you want...
i had to get back to the past and find this :
http://forum.joomla.org/index.php/topic ... l#msg97058

so the answer is :


    name = {ANAME}


and