Bug #76684

Fluid styled content - menu CE - section index shows only elements from colPos 0

Added by Tymoteusz Motylewski over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2016-06-17
Due date:
% Done:

0%

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

Description

The section menu CE configured to type 3 (section index) takes into account content elements from colPos == 0.
This is because the viewhelper typo3/sysext/fluid_styled_content/Classes/ViewHelpers/Menu/SectionViewHelper.php

sets the default value for argument "column" to 0 (empty would mean to take into account CE's from all columns).

So currently if you use different colPoses than 0 section index will not show any link.

There are 2 solutions:
1. change default value in the viewhelper
2. change template to pass empty column in
typo3/sysext/fluid_styled_content/Resources/Private/Partials/Menu/Type-3.html

<ce:menu.section pageUid="{page.uid}" as="contentElements" type="header">

to
<ce:menu.section pageUid="{page.uid}" as="contentElements" type="header" column="">

tested in 7.6.9


Related issues

Related to TYPO3 Core - Task #79622: Streamline CSS Styled Content and Fluid Styled Content Closed 2017-02-28

History

#1 Updated by Tymoteusz Motylewski over 3 years ago

3rd solution:
3. add a field in the CE to allow user setting colPos

#2 Updated by Riccardo De Contardi over 2 years ago

As far as I can see it has been solved on version 8.7-dev (latest master): the menu "Section Index" contains the CEs inside all columns, not only the ones with colPos=0.

but I am not able to understand in what order they are considered...

#3 Updated by Georg Ringer over 1 year ago

  • Status changed from New to Resolved

solved in 8 + 9, therefore I am closing it, won't be changed for 7

#4 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF