Benjamin Harwell wrote:
> Creating a subject that relates to what you are trying to do is always
> difficult.. The small code snippet below is from a TMENU I'm working on. I
> need to replace the "field:uid" with the uid of the subpage currently being
> processed. My question is, how in the world do you get that to substitute?
> 
> NO {
>  doNotShowLink = 1
>  before.cObject = COA
>  before.cObject {
>     1 = TEXT
>     1.postUserFunc = user_doStuff->getContentFlexValue
>     1.postUserFunc{
>        uid = field:uid
>     }
>  }
> }

Inside your userFunc:

$this->cObj->getData($conf['uid'], null);

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to