[TYPO3-dev] Hooks for class.tslib_menu.php
Tapio Markula
tapio.markula at dnainternet.net
Fri Jun 9 10:03:24 CEST 2006
Hi
I was forced to edit
special types of menus
I know that the right way would be
to define an own type but it was
faster to edit class.tslib_menu.php.
I would be wery desirable if
special types could have hooks to
add new select options, because
if-statements and select properties
are not available for menu items.
For example this kind of
$thisTime=gettimeofday();
$thisTime=$thisTime['sec'];
if ($this->conf['special.']['beforeCurrentTime']) {
$extraWhere = ' AND pages.newUntil<='.$thisTime;
}
could be very desirable to set using hooks.
Menus needs ofter *very specific* settings and TS just can't cover every
needs.
More information about the TYPO3-dev
mailing list