[TYPO3-dev] How to set BE_MOD variables with Typoscript?

Steffen Kamper steffen at dislabs.de
Sat Dec 9 01:11:30 CET 2006


"Matthias Stuebner" <news at stuebner.de> schrieb im Newsbeitrag 
news:mailman.1.1165622282.30608.typo3-dev at lists.netfielders.de...
> On Fri, 08 Dec 2006 03:38:13 +0200, Zorik wrote:
>
>> (http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/1/3/#id2798076)
>
> Will read that soon.
>
>> Retrieving the value in module:
>> $PageTSconfig = t3lib_BEfunc::getPagesTSconfig($this->pObj->id);
>> $yourParam = $PageTSconfig['tx_yourextname.']['parameter'];
>
> Good point, but what page ($PageTSconfig) do you refer too?
>
> The better option would be to use the parameter one can set for an
> extension in the ext.-manager. Looking into another extension I made it to
> let parameters and input fields show up there. Even the entered values are
> stored somewhere, bit don't find how to access the data.
> -- 
> br Matthias

they are stored in localconf.php.

Accessing is done by:
 $this->confArr= 
unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['your_extname']);

vg  Steffen 






More information about the TYPO3-dev mailing list