[TYPO3] Is there something like insertData in postUserFunc?
Tyler Kraft
headhunterxiii at yahoo.ca
Wed Jun 27 19:36:18 CEST 2007
If your going to do everything in your function, then just pass the uid
as the content
1 = TEXT
1.data = field:uid
1.postUserFunc = user_doStuff->getContentFlexValue
Untested but this (or a similar set of TS) would then pass the value as
the $content variable into your function, then do whatever you wnat with
it from there.
hth
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
> }
> }
> }
>
> Thanks for any help.
>
> -Ben
More information about the TYPO3-english
mailing list