[TYPO3-dev] How to set BE_MOD variables with Typoscript?
Tapio Markula
tapio.markula at atwebteam.com
Sat Dec 9 17:26:12 CET 2006
Zorik
> 0 - is typo3 root page only (1 page)
> any other value - is a rootline to page 0
> (page2 overrides page1 overrides page0).
>
> for example:
> page 0 says "aminpanel.enable = 0"
> page 1 says "aminpanel.enable = 1"
in TS config for pages?
> so, a call "getModTSconfig(0)" returns 0
> "getModTSconfig(1)" returns 1.
> (because page 1 TSconfig overrides page 0 TSconfig)
remarkable if both TS config for pages and TS config for users/user
grous use the same config propertie?
But at least if not, the meaning of the id is nonsense.
I tested
$this->modTSconfig =
t3lib_BEfunc::getModTSconfig($id,'mod.web_txtemplavoilaM1');
the value of the 'id' was 999999 and there is no such page.
The infomation should not exist but the result was the same
as setting
$this->modTSconfig =
t3lib_BEfunc::getModTSconfig(0,'mod.web_txtemplavoilaM1');
because the first parameter for getModTSconfig seems to be nonsential,
why it exists overall?
More information about the TYPO3-dev
mailing list