[TYPO3-mvc] Access typoscript settings in model

Claus Due claus at wildside.dk
Sun Mar 18 17:32:41 CET 2012


On Mar 18, 2012, at 5:17 PM, Sebastian Kurfürst wrote:

> You can - at least in Extbase since TYPO3 4.6. Used it yesterday again :)

Heh, nice catch Sebastian. I missed that completely, too many 4.5 projects
it seems. Cool to know!

In that case Stephen, you may want to inject the
ConfigurationManagerInterface and read settings in your Model, if you only
intend to run it on 4.6, but for a compatible solution you probably should use
the {settings} template variable and/or ViewHelpers.

Cheers,
Claus


More information about the TYPO3-project-typo3v4mvc mailing list