[TYPO3-extbase-kickstarter] Access page TS config in Controller?
Andreas F.
andreas at filler.name
Thu Feb 6 11:46:35 CET 2014
Hi!
I'm currently developing a data-based Typo3 Website and I'm very happy that Extension Builder helps me to create the data model and the controllers as well as the frontend plugins.
I want to create several frontend plugins which react a BIT different in their controller based on the page they are placed in. So my question: Is there a way to access e.g. the TS config of a page in the controllers created by the Extension Builder?
I tried so many ways, but I was not successful in this. Hope someone knows a good solution for me.
A simple example to explain what I'm searching for:
My Model: A web form with name, address, message
My Controller: Validates the web form, storing is not required, but I also use the controller to send the form by mail.
My Problem: I want to configure the email address the form should be sent to in the backend for each frontend plugin I add to a page, e.g. using the TS config, because I can easily edit this. And afterwards I want to get exactly this email address again in the Controller.
More information about the TYPO3-project-extbase-kickstarter
mailing list