[Typo3-dev] Ext with multiple plugins, Q1: one config location for multiple plugins?
Stefan Geith
typo3dev at geithware.de
Tue Jul 6 11:26:36 CEST 2004
Rainer Kuhn wrote:
> Q1) Config for multiple plugins:
> When we started the extension with only one plugin, we put some
> changeable configuration (to use in $this->conf) in the file
> "ext_typoscript_setup.txt" with a scheme like this:
> plugin.tx_ptconfvisitors_pi1 {
> key1 = val1
> key2 = val2
> ...
> }
Maybe this works for you:
//Setup
plugin.tx_ptconfvisitors {
key1 = val1
}
//tx_ptconfvisitors_pi1/2/3.php
$this->conf = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_ptconfvisitors.'];
-
Stefan
More information about the TYPO3-dev
mailing list