[TYPO3] Is there something like insertData in postUserFunc?
Dmitry Dulepov
dmitry at typo3.org
Wed Jun 27 20:25:46 CEST 2007
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
More information about the TYPO3-english
mailing list