[TYPO3-core] RFC #12506: Bug: JSMENU does not respect mount point overlays
Joerg Wagner [DigiLog]
news.netfielders.de at digilog.de
Sun Nov 8 19:17:18 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12506
Branches:
TYPO3_4-2 & trunk
TYPO3_4-3 & trunk
Problem:
JSMENU calculates wrong links for its menu items if the link is an
overlay mount point. So if the checkbox "Substitute Mount Point (this
page) with Mounted page" is checked in the page properties of a mount
point page, JSMENU creates a wrong link for this page (the "&MP="
variable in the query string is completely missing).
Solution:
The algorithm for JSMENU link generation in
/typo3/sysext/cms/tslib/class.tslib_menu.php only accounts for normal
mount points (adding mounted children to a page) but completely ignores
the possibility of overlay mount points. The attached patch (for 4.2.10
and 4.3.0beta2) adds the needed code for MP overlays. It is thoroughly
tested in a bunch of JSMENU configurations and a life system.
Cheers, Jörg.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4.2.10_jsmenu_mpovl.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091108/aaefe84a/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4.3.0beta2_jsmenu_mpovl.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091108/aaefe84a/attachment.txt>
More information about the TYPO3-team-core
mailing list