Project

General

Profile

Actions

Bug #76684

closed

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

Added by Tymoteusz Motylewski over 8 years ago. Updated about 6 years ago.

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

0%

Estimated time:
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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Tymoteusz Motylewski over 8 years ago

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

Actions #2

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

Actions #3

Updated by Georg Ringer over 6 years ago

  • Status changed from New to Resolved

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

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF