[TYPO3-german] eigene kleine PHP Datei in eigener Extension

Stephan Helten stephan.helten at engage.de
Fri Jun 24 19:39:13 CEST 2011


Hi,

noch ein kleiner Nachtrag.
An fe_user kommst du mit:

$GLOBALS['TSFE']->fe_user = tslib_eidtools::initFeUser();

Gruß

Stephan

-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org
[mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Kay Strobach
Gesendet: Freitag, 24. Juni 2011 19:33
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] eigene kleine PHP Datei in eigener Extension

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.htm
l
[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" <typo3 at kay-strobach.de> schrieb im Newsbeitrag 
> news:mailman.1.1308935768.10116.typo3-german at 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 at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list