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

Peter Klein peter at umloud.dk
Mon Dec 12 13:27:55 CET 2005


Hi Andreas. Try removing the "where" from your select statement, and insert 
these 2 lines instead:

andWhere.current = 1
andWhere.wrap = uid=|

As "where" doesn't have stdWrap and only accept string parameters..

-- 
Peter Klein/Umloud Untd


"Andreas Jonderko" <anj2j at yahoo.de> skrev i en meddelelse 
news:mailman.1.1134388462.20296.typo3-english at lists.netfielders.de...
> 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
>





More information about the TYPO3-english mailing list