Project

General

Profile

Actions

Feature #21948

closed

request: new hook for class tslib_fe->getPageAndRootline

Added by Adrian von almost 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-01-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

i've added a new doktype and want to replicate some of the shortcut functionality. as tslib_fe->getPageAndRootline() does not provide any hooks this is not possible at the moment.

the attached patch adds a new hook accessible via $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['getPageAndRootline']

tslib_fe->originalShortcutPage is marked as protected which will probably lead to problems when using the hook in a multi-language enviroment (just a guess, didn't test)

i hope this patch makes sense and there's not a better solution to my problem.
(issue imported from #M13218)


Files

tslib_fe-getPageAndRootline.patch (696 Bytes) tslib_fe-getPageAndRootline.patch Administrator Admin, 2010-01-12 16:09
Actions

Also available in: Atom PDF