how to pass var to a called template attribute ?

A general technical discussion area for patTemplate.
Locked
wene
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 203
Joined: Sat Aug 20, 2005 1:40 am
Location: south of France

how to pass var to a called template attribute ?

Post by wene » Wed Dec 21, 2005 3:05 am

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 =
Last edited by wene on Sun Dec 25, 2005 4:20 am, edited 1 time in total.

wene
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 203
Joined: Sat Aug 20, 2005 1:40 am
Location: south of France

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

Post by wene » Wed Dec 21, 2005 3:37 am

:-[
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



Locked

Return to “patTemplate”