Actions
Bug #27247
closedMissing Hook in extjs pagetree
Start date:
2011-06-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
A hook has been forgotten in implementing the page tree in extjs!
checkout typo3/class.webpagetree.php lines 120-127:
// Call stats information hook $stat = ''; if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'])) { $_params = array('pages',$row['uid']); foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'] as $_funcRef) { $stat.=t3lib_div::callUserFunction($_funcRef,$_params,$this); } }
this hook is used in existing extensions like l10nmanager and I wanna use it too ... the correct place to add it would be class.t3lib_tree_pagetree_commands.php at about ~330.
be aware to implement it without applying htmlspecialchars() to its content!
Actions