[Typo3] TemplateVoila how to get current=1 with TS???

Andreas Jonderko anj2j at yahoo.de
Mon Dec 12 12:53:46 CET 2005


Hi Nikolas!

here I store the current value:

#store the UID
###############

temp.uid = TEXT
temp.uid.current = 1

#get username
################
	
temp.name = CONTENT
temp.name{

   table = fe_users
   select {
          #storagefolder ID
     pidInList = 1
     orderBy = name
     where = uid = temp.uid
   }
   renderObj=COA
   renderObj{
     10=TEXT
     10.field=name
   }
}

10<temp.name


is LOAD_REGISTER the only way to get values from DB in TS?
In my case, I want to get the name of the usersID chosen in the FCE.

If i would use LOAD_REGISTER how to put in the actual User ID ?

Thx!

cheers
Andreas







Nikolas Hagelstein schrieb:
> Hi,
> 
>>do you have any examples? Links?
> 
> have a look at my example regarding 
> tt_content fields.
> 
> cheers,
> 		Nikolas
> 



More information about the TYPO3-english mailing list