Hallo zusammen,
ich hoffe mir kann hier einer helfen oder mir einen Tipp geben.
Die Funtion list Action:
public function listAction() { $photoss = $this->photosRepository->findAll(); $this->view->assign('photoss', $photoss); return $this->view->render('list'); }
Der Aufruf via Typoscript:
ajax_list = PAGE ajax_list { typeNum = 995588 config { disableAllHeaderCode = 1 xhtml_cleaning = 0 admPanel = 0 no_cache = 0 additionalHeaders = Content-type:application/json } 10 { extensionName = QdPhotoVoter pluginName = Pi1 } }
Plugin Einstellungen:
settings { } persistence { storagePid = {$plugin.tx_qdphotovoter.persistence.persistence} (pid=15) } view { templateRootPath = {$plugin.tx_qdphotovoter.view.templateRootPath} partialRootPath = {$plugin.tx_qdphotovoter.view.partialRootPath} layoutRootPath = {$plugin.tx_qdphotovoter.view.layoutRootPath} } }
Wenn die Extension normal eingebunden ist, als Seiteninhalt, klappt die Listenansicht genau wie sie soll.
Ruft man nun aber die Seite mit dem type auf findet die ext. keine Datensätze mehr. Ich weiss nun wirklich nicht mehr weiter.
Mittlerweile habe ich alle Varianten der Einbindung über TS durch die ich im Internet finden konnte...
#angry#
Seid bedankt
Thorsten