David Ansermot
David Ansermot

Reputation: 6112

Modify TYPO3 Frontend TypoScript from extension, using core hook

I've tryied a lot of things, and hooks for modifying the TypoScript configuration from and handmade extension. Here's the hooks I tested :

I try to modify the TypoScript configuration by $ref->tmpl->setup and $GLOBALS['TSFE']->tmpl->setup inside pagerenderer and tslib_fe hooks.

I've looking for other usefull hooks but not found.
If someone have an idea, a clue or any helping information, drop me a word.

Upvotes: 0

Views: 671

Answers (1)

Krystian Szymukowicz
Krystian Szymukowicz

Reputation: 1488

With hook "includeStaticTypoScriptSourcesAtEnd" you can include any TS at the end of Typoscript stack so you can effectivly overwrite any setting.

Example of how to use this hook is in extension "templavoila_framework".

Upvotes: 2

Related Questions