Glad it worked for you, you can find more on it all in TSref in the PHP/USER parts (and possible in the postuserfunc of stdWrap)
Benjamin Harwell wrote: > Very interesting. Thank you for your response. In order to get all that I > needed to my function I ended up using the following typoscript: > > NO { > doNotShowLink = 1 > before.cObject = COA > before.cObject { > 1 = TEXT > 1.data = field:uid > 1.postUserFunc = user_doStuff->getContentFlexValue > 1.postUserFunc{ > fieldName = field_singlefladdresscity > } > } > } > > So, in short that was the hinge pin. Thanks again. I hadn't thought of > using > ..data and .postUserFunc in tandem quite that way yet. > > On 6/27/07, Tyler Kraft <[EMAIL PROTECTED]> wrote: >> >> 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 >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english@lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english >> _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english