[TYPO3-core] RFC #12506: Bug: JSMENU does not respect mount point overlays

Joerg Wagner [DigiLog] news.netfielders.de at digilog.de
Thu Dec 3 13:32:20 CET 2009


Anybody willing to commit this?
Just a kind reminder!
JSMENU is _very_ broken right now.

Cheers, Jörg.


Joerg Wagner [DigiLog] schrieb am 08.11.2009 19:17:
> 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.
> 


More information about the TYPO3-team-core mailing list