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@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

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

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an