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 #1

Updated by Mr. Hudson almost 13 years ago

Patch set 1 of change I5cae926c7cfe623ba945e9a044b2d4128d889df4 has been pushed to the review server.
It is available at http://review.typo3.org/2546

Actions #2

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change I5cae926c7cfe623ba945e9a044b2d4128d889df4 has been pushed to the review server.
It is available at http://review.typo3.org/2546

Actions #3

Updated by Mr. Hudson over 12 years ago

Patch set 3 of change I5cae926c7cfe623ba945e9a044b2d4128d889df4 has been pushed to the review server.
It is available at http://review.typo3.org/2546

Actions #4

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change Ie334ba0289e7cc49a0cbcdeb4b2f8e16d9c141fb has been pushed to the review server.
It is available at http://review.typo3.org/4677

Actions #5

Updated by Xavier Perseguers over 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Georg Ringer
  • Target version set to 4.6.0-beta2
  • % Done changed from 0 to 100
Actions #6

Updated by Xavier Perseguers about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF