Bug #78269

Content element Special Menu - Section Index

Added by Kurt Ludikovsky almost 3 years ago. Updated 5 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Fluid Styled Content
Start date:
2016-10-12
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The contennt element Section Index should display content elements of the (current) page, according to the description here [[https://docs.typo3.org/typo3cms/extensions/fluid_styled_content/7.6/ContentElements/Menu/Index.html]]
It should also show/hide elements according the check mark in the "Show in Index" field.

The result from the CE currently is, that it
  • shows the page title as well - which is unwanted indentation level when requested to display sections
  • the element itself and can not be hidden and is shown in the menu
  • the header CE dows not have check box to hide in sections menu, so also shows in the menu
  • 'hide in index' in text & image has no effect for section menu

The attached picture shows the resulting page and the various content elements to report the settings.
I have also used the text CE instead of the header only with no change in the result.

T3 CE Section Index.jpg View (390 KB) Kurt Ludikovsky, 2016-10-12 17:11

Templates TYPO3 CMS 7.6.pdf (53.2 KB) Kurt Ludikovsky, 2016-10-13 12:40

History

#1 Updated by Daniel Goerz almost 3 years ago

  • Description updated (diff)

#2 Updated by Daniel Goerz almost 3 years ago

  • Status changed from New to Needs Feedback

Please give us more information about your setup. I tested the section menu in the current 7.6 release with css_styled_content and fluid_styled_content. Both work as expected. Please give the following information:

  • What TYPO3 version are you using?
  • Are you rendering your content with css_styled_content oder with fluid_styled_content?
  • Are those content elements translations from another language?

#3 Updated by Kurt Ludikovsky almost 3 years ago

  1. T3: 7.6.10
  2. fluid_styled (template hirarchy atttached), css-styled not included
  3. no, they are the base content

All used extensions current.

#4 Updated by Kurt Ludikovsky almost 3 years ago

I did some investigation.
The generated query is as follows

SELECT * FROM tt_content 
WHERE 
    tt_content.pid IN (125) 
        AND (tt_content.sys_language_uid IN (0,-1))
        AND tt_content.deleted=0 
        AND tt_content.t3ver_state<=0 
        AND tt_content.pid<>-1 
        AND tt_content.hidden=0 
        AND tt_content.starttime<=1476355500 
        AND 
            (tt_content.endtime=0 
            OR tt_content.endtime>1476355500) 
        AND 
            (tt_content.fe_group='' 
            OR tt_content.fe_group IS NULL 
            OR tt_content.fe_group='0' 
            OR FIND_IN_SET('0',tt_content.fe_group) 
            OR FIND_IN_SET('-1',tt_content.fe_group)
            )


This query returns the displayed CE's but does not take into consideration the sectionIndex.
In case the sectionIndex would be considered in the query the 'own' CE ('Menu' here) would also be excluded, as it seems to have the sectionIndex set to 1 automatically.

Hope this helps.

#5 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Needs Feedback to New

#6 Updated by Riccardo De Contardi over 2 years ago

I performed the following test with both 7.6.18 and 9.0.0-dev (latest master)

1) Create a page "Test"
2) create a CE "Heading 1", type "Heading", in "Test"
3) Create a CE "Heading 2", type "Heading", in "Test"
4) Create a CE "Heading 3", type "Heading", in "Test"
5) Create a CE "Special menu - section index" in "Test"
5.1) edit 5) and select as "Selected pages": "Test" (the page created at point 1)
6) Preview

Result in 7.6.18: the section index menu is shown as follows:

  • Special Menu
  • Heading 1
  • Heading 2
  • Heading 3

If I edit 5) and uncheck "Show in Section menus - Enabled" it becomes:

  • Heading 1
  • Heading 2
  • Heading 3

Result in 9.0.0-dev: the section index menu is shown as follows:

  • Test
    • Special Menu
    • Heading 1
    • Heading 2
    • Heading 3

If I edit 5) and uncheck "Show in Section menus - Enabled" it becomes:

  • Test
    • Heading 1
    • Heading 2
    • Heading 3

#7 Updated by Susanne Moog almost 2 years ago

  • Category changed from Content Rendering to Fluid Styled Content

#8 Updated by Christiane Lapierre over 1 year ago

Hi, it is still present in version 8.7.10 of TYPO3.

#9 Updated by Benni Mack 5 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

Also available in: Atom PDF