Project

General

Profile

Actions

Bug #72845

closed

Special Content Element : Section Index

Added by Michael Kasten over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

The section index menu considers only content from the column 0
So the contents of others colums never shown in this menu type

Actions #1

Updated by Michael Kasten over 8 years ago

Okay not realy a bug i found now:

Inside Classes/ViewHelpers/Menu/SectionViewHelper.php:
  • By default only content in colPos=0 will be found. This can be overruled by using "column"

Okay, but where i have to set the other cols? I see nothing inside the object browser.
imho the best way would be an option directly by the plugin so set the columns, but now it is enough to know the place of configuration the columns.

Any hints?

Actions #2

Updated by Georg Ringer over 8 years ago

  • Assignee deleted (Benni Mack)

you need to override the template or partial and define it as additional property.

is that ok for you?

Actions #3

Updated by Michael Kasten over 8 years ago

Hi Georg,

okay i have to take a look at the menu partials :)

The given Viehelper can handle just one column:

protected function findBySection($pageUid, $type = '', $column = 0)
    {
        $constraints = array(
            'colPos = ' . (int)$column
        );

What du you think about this idea:
Take the column id from the index section menu to use them inside the viewhelper, so the section index menu show the content elements from the same column

Actions #4

Updated by Wouter Wolters over 8 years ago

There was a change recently in this ViewHelper to allow more columns. will be included in 7.6.3 See https://review.typo3.org/#/c/46005/

Actions #5

Updated by Michael Kasten over 8 years ago

Yeah! Thank you!

Actions #6

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Closed

Resolved in the next release.

Actions

Also available in: Atom PDF