Feature #21142

HMENU - sectionIndex does not allow to select other CEs than colPos = 0

Added by Benjamin Mack almost 6 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2009-09-25
Priority:Should have Due date:
Assigned To:Stefan Galinski % Done:

100%

Category:- Spent time: -
Target version:-
PHP Version:4.3 Sprint Focus:
Complexity:

Description

Hey,

HMENU.sectionIndex is a real cool feature, however it is impossible to modify the WHERE clause when selecting the Content Elements on that page to create the elements in the sectionIndex. Thus, this patch adds an additional

sectionIndex.where (string + stdWrap)

to allow to override the where clause and to specifically select items based on other criteria than the default "colPos=0 and sys_language_uid=...".

(issue imported from #M12065)

12065_menu_sectionIndex.patch Magnifier (1.3 kB) Administrator Admin, 2009-09-25 17:24


Related issues

related to TypoScript Reference (TSref) - Feature #37234: HMENU: sectionIndex.useColPos allows configuration of the... Closed 2012-05-16
related to Core - Bug #37449: Section Index incorrect output Closed 2012-05-23

Associated revisions

Revision af4153d9
Added by Stefan Galinski almost 3 years ago

[FEATURE] HMENU - sectionIndex: where clause should be configurable

This changeset implements the sectionIndex setting
"useColPos" that can be used to change the colPos
query filter. A negative value drops the filter
completely. Only integers are allowed as values
and stdWrap is possible.

Example:
tt_content.menu.20.3.1.sectionIndex.useColPos = -1

Change-Id: Ic65cdee014aa7972e3d28504a678a001355ed312
Resolves: #21142
Releases: 6.0
Reviewed-on: http://review.typo3.org/11251
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski

History

#1 Updated by Stefan Galinski about 3 years ago

  • Assigned To deleted (Benjamin Mack)
  • Target version deleted (0)

#2 Updated by Stefan Galinski about 3 years ago

  • Assigned To set to Stefan Galinski

#3 Updated by Stefan Galinski about 3 years ago

How to test:

Add a section menu as content element to one of your pages with content spread over different columns. You will experience that only the contents from the first column are shown if they have headers. After applying the following typoscript you will get all contents inside the section menu instead.

tt_content.menu.20.3.1.sectionIndex.where.wrap = 1=1|
or
tt_content.menu.20.3.1.sectionIndex.where = 1=1

#4 Updated by Stefan Galinski about 3 years ago

  • Tracker changed from Bug to Feature

#5 Updated by Stefan Galinski about 3 years ago

  • Status changed from Accepted to Under Review

#6 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11251

#7 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11251

#8 Updated by Stefan Galinski almost 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF