[TYPO3-german] Ajax mit eID: Alternative zu TYPO3\CMS\Core\Http\AjaxRequestHandler

Dr. Dieter Porth web37p2 at web59550.greatnet-hosting.de
Mon Dec 18 19:47:37 CET 2017


Hallo David,

ich habe schon bei deinem ersten Post nicht ganz verstanden, was 
eigentlich dein Problem war? Könntest du das noch einmal kurz erläutern?

Mit besten Grüßen

      Dieter



Am 18.12.2017 um 17:25 schrieb David Brünner:
> Habe etwas rumprobiert und eine Lösung gefunden.
>
> Alles wie bisher.
>
> ext_localconf.php
> [code]
> $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['kkbaybwBackendImageInWYSIWIG'] 
> = [
> 'callbackMethod' => 
> 'KKSoftware\\Kkbaybw\\Controller\\BaseController->imageUploadInWYSIWIG'
> ];
> [/code]
>
> BaseController::imageUploadInWYSIWIG()
> [code]
> public function imageUploadInWYSIWIG() {
>   ...
>   return json_encode(['parameter' => $value];
> }
> [/code]
>
> Also hier einfach die Funktionsargumente weglassen.
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

-- 
----
Dr. Dieter Porth - Web-Entwickler



More information about the TYPO3-german mailing list