Get TypoScript configuration everywhere


/ Published in: PHP
Save to your folder(s)

I hate to configure everything twice or more often. So I use typoscript to configure everything at one place. To get this configuration in my php-scripts (perhaps a hook) I use this little Code:


First you need to include the typoscript parser. The you have to read your typoscript file. Then you can parse the file content.
$tsParser->setup contains the parsed typoscript.

URL: http://wiki.typo3.org/User:Layne_obserdia/Backend

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.