Hi,
this cannot work:
$this->pi_getFFvalue($this->cObj->data['pi_flexform'], "pages")
when you call your plugin with
10 = USER
10 {
userFunc = tx_mstxml_pi1->showXML
}
pi_getFFvalue uses the field pi_flexform from the cObj (usually a record
from tt_content) to fetch the field "pages", but where should it get the
flexform data from, when you use a userfunction?
You can try to build the PAGE for the XML with styles.content.get (or
just do it manually with CONTENT) and place a content element on your
desired page. (I guess, you did this when you said "watch th page
normally"?)
You could also set the pid in TS, like
10.userFunc.pages = 22
then you should be able to access it in the $conf parameter array that
your function showXML has.
HTH,
Andreas
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english