Bug #73608

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

Added by Christian Hernmarck over 5 years ago. Updated about 4 years ago.

Status:
New
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

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
#1

Updated by Riccardo De Contardi about 5 years ago

  • Category set to Frontend
#2

Updated by Riccardo De Contardi about 5 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.

#3

Updated by Andreas Krämer about 4 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.

#4

Updated by Riccardo De Contardi about 4 years ago

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

Also available in: Atom PDF