Project

General

Profile

Actions

Bug #27247

closed

Missing Hook in extjs pagetree

Added by Georg Ringer almost 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Pagetree
Target version:
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

Also available in: Atom PDF