[Typo3] TemplateVoila how to get current=1 with TS???
Andreas Jonderko
anj2j at yahoo.de
Mon Dec 12 12:15:03 CET 2005
Hi!
I try to get the value from the current Field in Typoscript.
My problem is to make a link after choosing a user.
now i want to make a link with Typoscript that is like this:
index.php?id=11&tx_newloginbox_pi3[showUid]=15
the page id=11 is static to my userlist from the ext. new loginbox
and the showUid is my choosed user
with
<TypoScript>
10 = TEXT
10.current = 1
</TypoScript>
i get the uid printed ... but how to store this UID in a variable?
this doesnt work:
<TypoScript>
temp.uid = TEXT
temp.uid.current=1
</TypoScript>
any ideas?
here my DS to this field:
<TypoScript><![CDATA[
temp.name = CONTENT
temp.name{
table = fe_users
select {
#ID of storage
pidInList = 1
orderBy = name
where = uid = // here i have to put in the uid but how ?
}
renderObj=COA
renderObj{
10=TEXT
10.field=name
}
}
temp.link = TEXT
temp.link.value = ##here i want to put the users name#from temp.name###
temp.link.typolink.parameter = 11
temp.link.typolink.additionalParams = &tx_newloginbox_pi3[showUid]=#UID#
10 < temp.link
]]></TypoScript>
More information about the TYPO3-english
mailing list