[TYPO3-core] RFC #11431: Hook request for manipulating the pageID in getPage

Christian Kuhn lolli at schwarzbu.ch
Sat Jun 27 00:12:47 CEST 2009


This is a SVN patch request.

Type: feature

Branches: trunk

BT reference:
http://bugs.typo3.org/view.php?id=11431

Problem:
For some special page overlay handling it might be usefull to manipulate
the pageId before getting the row that belongs to the page.

Solution:
Add a hook to t3lib/class.t3lib_page.php in method getPage() to change
the uid of a page before it's requested from db.

Notes:
This hook is in production use for a site with a lot of different
language overlays with partially equal content for same countries for
several month now.


Thanks
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11431_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090627/ef1a078f/attachment.txt 


More information about the TYPO3-team-core mailing list