[TYPO3-dev] Setting ext_cont_template.txt
Tapio Markula
tapio.markula at atwebteam.com
Tue Sep 19 11:45:59 CEST 2006
H
I have some definition problems
Dimensions can be set like
# cat=basic/dims/d1; type=int[4-7]; label=Width of Tabs buttons: (in em)
tabsWidth = 6
# cat=basic/dims/d1; type=int[1-99]; label=Max. number of submodules to
show on secondary row of Tab?
maxSubItems = 9
and they can have related code:
$eConf =
unserialize($GLOBALS["TYPO3_CONF_VARS"]["EXT"]["extConf"][$this->extKey]);
$this->maxSubItems =
$eConf['maxSubItems']?$eConf['maxSubItems']:$this->maxSubItems;
I like to put corresponding:
# cat=basic/dims/d1; type=int[3-12]; label=Max. number of
submodules:Max. number of submodules to show on secondary row of the new
top menu. If the quantity has been reached, for rest of the sub-modules
button has been set new main module links and main modules has been
listed 1, 2, 3 etc., for example 'Tools 1, Tools 2, Tools 3'. This
setting can be overrided by personal user setup and TS Config for
users/user groups.
maxSubItems = 6
That should work with $skin_grey_2Conf['maxSubItems']
But
# cat=basic/enable; type=boolean; label= New top menu:
ok for the menu itself, but what to set for individual boolean or string
values
for it?
# cat=basic/enable; type=string;
enable.onClick, enable.styleSheet etc.
is not reasonable, because it is just config for enabled option, not enable
to option itself.
I don't have found documentation set these properly and I have
sometimes misused basic/enable.
More information about the TYPO3-dev
mailing list