Project

General

Profile

Actions

Bug #87130

closed

TMENU target is not working

Added by David Bruchmann over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2018-12-12
Due date:
% Done:

100%

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

Description

According to the documentation https://docs.typo3.org/typo3cms/TyposcriptReference/latest/MenuObjects/Tmenu/Index.html for a TMENU a target can be entered.
In Version 9.5.1 this has no impact.

        20 = HMENU
        20 {

            entryLevel = 0

            1 = TMENU
            1 {
                target = _top

                NO {
                    text = nav_title // title
                    wrapItemAndSub = <li>|</li>
                }
            }
        }

Also 'altTarget' for TMENUITEM is not working

        20 = HMENU
        20 {

            entryLevel = 0

            1 = TMENU
            1 {
                target = _top

                NO {
                    text = nav_title // title
                    wrapItemAndSub = <li>|</li>
                    altTarget = someTarget
                }
            }
        }

Actions #1

Updated by David Bruchmann over 5 years ago

  • Description updated (diff)
Actions #2

Updated by David Bruchmann over 5 years ago

  • Description updated (diff)
Actions #3

Updated by Christoph Lehmann about 5 years ago

The target can be defined in page settings in tab behaviour. I think the documentation is not up-to-date.

Do you see a usecase for setting target via TypoScript?

Actions #4

Updated by David Bruchmann about 5 years ago

In any frame-solution no matter if frame or iframe I think the solution by typoscript would be quite reasonable.
The updated page where I'd need it never needs it urgently but it's a single use-case and can't be generalized.
By stdWrap it still would be possible to implement it somehow but that's not straight forward and would be a bit ugly and probably slowing down parsing of the typoscript.

Actions #5

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60292

Actions #6

Updated by Gerrit Code Review almost 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60313

Actions #7

Updated by Benni Mack almost 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF