Bug #14635
closedRealurl + Shortcut == No ACT
0%
Description
I will just post my posting to the dev-list in here :
I think I've found a bug but would need someone to confirm it before I post it to the Bugtracker.
Requirements to test it are a site with installed realurl and a menu having an ACT property..
The problem ist that shortcuts get linked directly to the linked page and not to the shortcut page
when realurl is used.
This raises a little glitch in the Menu-rendering functions. Normally they make an item being the ACT
item if the UID of this item is the same as the ID of the actually rendered page. This works well for
the normal behaviour where the ID of the actual page was the id of the shortcut page if rendering a shortcut
page (the real page id where the shortcuts points to was just "emulated")
Now if the actual ID is the linked page the short-cut menu entry pages don't get the ACT statement set anymore.
But that's just the way I think everything works as far as i can remember from my work on the menu classses.
I already made a patch which checks if a link is a shortcut and if the page which gets linked to is a ACT page.
The patch is attached in unified diff and has to get applied to
tslib/class.tslib_menu.php
(issue imported from #M932)
Files