[TYPO3-mvc] MVC, pages and FlexForms

Sebastian Gebhard s.gebhard at markenmotiv.de
Thu Jun 18 15:44:37 CEST 2009


Sebastian KurfŸürst schrieb:
> PS: I'm not fully sure if you have the settings available in the View, 
> if not, please tell me so I can implement this right away :-)

It's not.

indexAction():
// Shorten path to settings
$lSettings = $this->settings['controllers']['Car']['actions']['index'];
$this->view->assign('cars', $cars);
$this->view->assign('singlePid', $lSettings['singlePid']);

index.html:

pageUid="{singlePid}"
-> works (because it's explicitly assigned in the Controller)

pageUid="{settings.singlePid}"
-> doesn't work (settings is not available)

pageUid="{settings.controllers.Car.actions.index.singlePid}"
-> doesn't work either (just gave a try for the full path)


More information about the TYPO3-project-typo3v4mvc mailing list