Rainer Schleevoigt schrieb:
Mittlerrweile bin ich schon schlauer und ruge die Params mit t3lib_div::_GET(); auf. Trotzdem fehlen meine Params, in Firebug sehe ich sie noch, aber im Plugin kommen sie irgendwie nicht an. Der Ajaxaufruf: var m = '2009-06'; new Ajax.Updater('cal','index.php?type=500&id=33&m='+m,{method:'get'}); Der Parameter m wird also verschluckt. Rainer > Mit folgendem TS rufe ich eine Ajaxantwort auf: > > ajax = PAGE > > ajax { > config { > disableAllHeaderCode = 1 > additionalHeaders = Content-type:text/html > } > typeNum = {$typeNumAjax} > 20 < {$pluginname} > } > > > Aufruf ist dann index.php?id=33&type=500&myparam=xyz > > Soweit so gut. Nur leider wird mypara ignoriert, trotz verschiedener URL > wird das Plugin gecacht, das heißt ungeachtet von myparam ausgeführt. > Im PI steht dann noch: > class tx_rasgeoblog_pi2 extends tslib_pibase { > var $prefixId = 'tx_rasgeoblog_pi2'; // Same as class name > var $scriptRelPath = 'pi2/class.tx_rasgeoblog_pi2.php'; // Path > to this script relative to the extension dir. > var $extKey = 'ras_geoblog'; // The extension key. > var $pi_checkCHash = true; > function main($content, $conf) { > //ungebufferte Ausgabe: > $tage = array(1,2,3,4,5); > $this->pi_USER_INT_obj = 1; > $cal = new myCal(); > if (!$_GET['m']) { > return $cal->getMonthHTML(null,null,$tage,$_GET['thisday']); > } else { > list($y,$m) = explode('-',$_GET['m']); > return $cal->getMonthHTML($m,$y,$tage,$_GET['thisday']); > } > } > } > > Das heißt der Parameter m wird ignoriert. Gibt es einen spezellen > Zugriff auf GET-Parameter? > > Rainer > _______________________________________________ > TYPO3-german mailing list > TYPO3-german@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german > _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german