[TYPO3-dev] TypoScript: Getting Content into stdWrap.preUserFunc

Sebastian Gebhard sebastian.gebhard at googlemail.com
Wed Sep 16 13:35:45 CEST 2009


Steffen Kamper schrieb:
> Hi Steffen,
> 
> it doesn't surprise me that in a "pre" the content is empty. Why don't 
> you use postUserFunc and remove content if no access?
> 
> btw - description in tsRef lacks ...
> 
> vg Steffen
10 = TEXT
10{
   field = title
   # Check if this cat or its subcats have items
   if{
     isTrue{
       postUserFunc = tx_myext_UserFuncs->myUserFunc
       postUserFunc.recursive = 1
     }
     value.field = uid
   }
}
Doesn't work either :/
Neither TEXT.title nor if.value are passed to postUserFunc




More information about the TYPO3-dev mailing list