[TYPO3-dev] Using typoscript configuration in your plugin
Robert John de Stigter
robertjohn at bedrijvenweb.nl
Tue Apr 4 16:11:18 CEST 2006
Hi all,
I've been trough several extensions and also documentation but I
couldn't find (out) how to correctly configure my extension files to let
the plugin be configured with typoscript. I kickstarted a very basic
extension with a plugin in it and now I want to add typoscript.
example:
plugin.tx_myextension_pi1.myvalue = Hello World
But when I do a print_r($conf) in the main function of the plugin it
only debugs the userFunc setting.
I created the file ext_typoscript_setup.txt in the plugin folder and
filled it with "plugin.tx_myextension_pi1.myvalue = My Default Value".
In this case the plugin did debug it but wasn't overridden by
typoscript. Also the documentation (typo3 core) says using
ext_typoscript_setup.txt has deprecated but it's not very clear on how I
should do it than.
It's probarly a very simple thingy but I can't find out how.
Greetz,
Robert
More information about the TYPO3-dev
mailing list