Project

General

Profile

Actions

Bug #14635

closed

Realurl + Shortcut == No ACT

Added by Bernhard Kraft over 19 years ago. Updated about 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-04-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

patch_realurl_act_shortcut.diff (2.47 KB) patch_realurl_act_shortcut.diff Administrator Admin, 2005-04-05 15:48
Actions #1

Updated by Andreas Wolf about 13 years ago

  • Target version deleted (0)
  • TYPO3 Version set to 3.8

Is this still relevant?

Actions #2

Updated by Andreas Wolf about 13 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Jo Hasenau about 13 years ago

Has been discussed in another place already.

Conclusion: Shortcuts by definition can't be ACT or CUR, since they point to another page, which is then ACT or CUR itself. Giving shortcuts the same state would lead to the possibility of multiple ACT and/or CUR states even in different branches of the menu tree.

So IMHO this one should be closed.

Actions #4

Updated by Steffen Gebert about 13 years ago

  • Status changed from Needs Feedback to Rejected
Actions

Also available in: Atom PDF