Feature #36431
closedHook in t3lib_BEfunc::getPageForRootline
0%
Description
It would be nice to have a hook into t3lib_BEfunc::getPageForRootline to enable dynamic loading of pagets with some logic.
This is part of the needed functionality for any templating engine (e.g to configure the rte, borders, etc.)
Otherwise i would also accept an hook in the database abstraction layer class t3lib_db, as the hook would be more generic this way (in sql_fetch_assoc, sql_fetch_row, ...).
Please feel free to discuss that here, i would like to add the patch afterwards.
Thanks
Kay
PS: Category either Database or Backend API
Updated by Kay Strobach over 12 years ago
after thinking a moment, the hook in the db layer would have a big drawback, during edit, the dynamic pagets would be stored in the database, that's not what's the goal :(
So it would be best to have it were i first thought it should be ;)
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10750
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10750
Updated by Kay Strobach over 12 years ago
i'd like to get this backported, as t3lib_BEfunc is declared as final an so it's not possible to xclass this class :(
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10750
Updated by Steffen Ritter over 12 years ago
- TYPO3 Version changed from 4.7 to 6.0
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/10750
Updated by Xavier Perseguers over 11 years ago
- Status changed from Under Review to Rejected
Has been rejected by its author:
there is a better way in the core to inject pagers. I do currently use an xclass, which can be easily converted into a hook (see Gerrit for details).
Updated by Kay Strobach over 11 years ago
this should be better solved using the hook in the tsparser ;) the rootline variant is bypassed at several places in the core :D
The implementation of the hook functionality as xclass can be found here:
https://github.com/kaystrobach/TYPO3.themes/blob/master/Classes/XClass/Ux_T3lib_TSparser_TSconfig.php