Hi Harald, bei eid scripten sind nicht alle funktionen für pibase aktiviert. Wenn du wirklich pibase nutzen willst, kommst du um TS und einen anderen pagetype nicht herum.
[0] http://www.typo3-tutorials.org/tutorials/extensions/eid-mechanismus.html [1] http://www.sk-typo3.de/Ajax-mit-prototype-und-eID.328.0.html [3] http://jimsuperfly.de/blog/typo3-eid-ajax/ [4] http://lists.typo3.org/pipermail/typo3-project-timtab/2010-August/000553.html [5] http://www.typo3.net/forum/beitraege/thema/93256/ Hoffe die links helfen dir. Leider ist im Wiki derzeit kein tutorial zu eid und typenum :( Grüße Kay Am 24.06.2011 19:25, schrieb Harald Keller: > Stimmt das AJAX ist ja auch ok, der Request wird perfekt abgesetzt etc, > nur was muss ich tun damit eine PHP Datei in einer Extension funktioniert. > > Oder anders gefragt warum kann ich eine PHP Datei in meiner Extension nicht > ausführen gibt es einen Grund dafür? > > gruess > Harald > > "Kay Strobach" <ty...@kay-strobach.de> schrieb im Newsbeitrag > news:mailman.1.1308935768.10116.typo3-ger...@lists.typo3.org... >> hi in typo3 ist das zauberwort für ajax eid ;) >> >> Grüße >> Kay >> >> Am 24.06.2011 18:03, schrieb Harald Keller: >>> sorry der Code hat es verhackt: >>> >>> <?php >>> require_once(PATH_tslib.'class.tslib_pibase.php'); >>> >>> class my_ajax extends tslib_pibase { >>> >>> public function main() { >>> $wert="mein test"; >>> $GLOBALS['TSFE']->fe_user->setKey('ses','checkfields',$wert); >>> $GLOBALS['TSFE']->storeSessionData(); >>> return; >>> } >>> } >>> >>> $output = t3lib_div::makeInstance('my_ajax'); >>> echo $output->main(); >>> >>> ?> >>> >>> >> >> >> -- >> http://www.kay-strobach.de - Open Source Rocks >> >> TYPO3 .... inspiring people to share! >> Get involved: http://typo3.org > > -- http://www.kay-strobach.de - Open Source Rocks TYPO3 .... inspiring people to share! Get involved: http://typo3.org _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german