Project

General

Profile

Actions

Bug #73608

closed

name/header of shortcut is shown in menu of type 3 (section index)

Added by Christian Hernmarck almost 9 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2016-02-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
menu section index, shortcut
Complexity:
Is Regression:
No
Sprint Focus:

Description

Lets have some pages in a website with a content block that is shown on every page as first - one real content and the others use a shortcut to show the same content.
After this content there's a menu type=3 - section index.

In TYPO3 4.5 the name resp. header of the shortcut is not shown in the menu, in TYPO3 6.2 it is shown in the frontend (even if it says "Name (not visible in frontend)") - of course only if there's a name given....
If I disable "Access | Shown in section menu" then it is not shown.

I think even if "Show in section menu" is enabled - a title/header/name of a shortcut should not be shown anywhere in the frontend - especially if it says "not visible in frontend".


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #79825: Name of reference (Insert records) shows up in frontendClosedBenni Mack2017-02-15

Actions
Related to TYPO3 Core - Bug #81827: New Content element > Type > Insert records shows field "Name (not visible in frontend)" anywayClosed2017-07-10

Actions
Related to TYPO3 Core - Bug #94704: Section Index shows name of html elementClosedBenjamin Kott2021-08-04

Actions
Actions #1

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Frontend
Actions #2

Updated by Riccardo De Contardi over 8 years ago

The bug is still present on 6.2.22 and 8.2-dev (FSC instead of CSC).

Steps to reproduce:

1) create a new page
2) add in the page a new content element, type "Insert record"
2.1) set as name "This should not be shown"
2.2) add an existing record inside the element
3)add in the page a new content element, e.g. type "header"
3.1) set as header: "This should be shown"
4) add in the page a new content element, type "Special menus"
4.1) Select as "Menu type" : "Section index (page content marked for section menus)"
4.2) set as starting point the page created at 1)

Result:

the menu will have 2 links:

  • This should not be shown
  • This should be shown

Considerations:

The "Name (not visible in frontend)" field of the CE "Insert record" is in fact the "header" of the CE "insert record": only the label has changed and this
is why it is used in the menu. This means that this label is somehow wrong or not enough descriptive (BTW: The CSH associated reads: "Enter header text for the Content Element." and it does not help, either ;) ). So the solution for this problem could be "simply" using a more descriptive label for that field and its CSH.

Another (more complicated) solution of this problem should be: the header of the element inside the "insert record" must be taken (if present) to generate the section menu link.

Actions #3

Updated by Andreas Krämer over 7 years ago

I can confirm this is still an issues in TYPO3 8.7.1

In my opinion Riccardos second solution is the right way and the header(s) from the content element(s) inside the "Insert Records" element should be taken.

Actions #4

Updated by Riccardo De Contardi over 7 years ago

  • Related to Bug #81827: New Content element > Type > Insert records shows field "Name (not visible in frontend)" anyway added
Actions #5

Updated by Riccardo De Contardi over 3 years ago

  • Related to Bug #94704: Section Index shows name of html element added
Actions #6

Updated by Riccardo De Contardi over 1 year ago

  • Status changed from New to Closed

I close this issue as since TYPO3 11.x the content element has an additional description below the field title:

Name (not visible in frontend)
The name won't be displayed as header above the element, but will be used as reference in menus.

This solution has been applied also to the div and html content elemnts that suffered the same problem.

See https://review.typo3.org/c/Packages/TYPO3.CMS/+/70352

If someone wants to work on a solution that uses the actual title of the element inside the "insert record" field, then please open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF