Feature #37234
HMENU: sectionIndex.useColPos allows configuration of the value for colPos
Status: | Closed | Start date: | 2012-05-16 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Chris topher | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.0 |
Description
In HMENUs sectionIndex.where
can be used to customize the sectionIndex' where clause used for the generation of the section menus.
By default the where clause contains "colPos=0". The value "0" can now be manipulated. stdWrap is available. See #21142 for details.
Related issues
Associated revisions
[TASK] HMENU: sectionIndex.useColPos allows configuration of the value
for colPos
Add documentation for sectionIndex.useColPos, which allows to configure
the colPos, which should be used for creating the section index.
Change-Id: I0653cdca231d571cb167568e67066407ee8c1e04
Resolves: #37234
History
#1 Updated by Stefan Galinski almost 3 years ago
The patch changed a little bit. Instead of an own part of the "where" clause, you can just change the colPos for security reasons now.
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
#2 Updated by Chris topher almost 3 years ago
- Target version set to 6.0
#3 Updated by Chris topher almost 3 years ago
- Subject changed from HMENU - sectionIndex.where to HMENU: sectionIndex.useColPos allows configuration of the value for colPos
#4 Updated by Chris topher almost 3 years ago
Here is the diff.
Section "[menuObj].sectionIndex" (running text, no table)
New setting: .sectionIndex.useColPos = [integer /stdWrap]
Data type: integer /stdWrap
Description: The colPos to use in the where clause of the query. Possible values are integers.
Any positive integer and 0 will lead to a where clause containing "colPos=x" with x being the aforementioned integer. A negative value drops the filter "colPos=x" completely.
Example:
tt_content.menu.20.3.1.sectionIndex.useColPos = -1
Default: 0 (leading to "colPos=0")
===
Introductory sentence ("(with colPos=0!)") needs according update.
#5 Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15878
#6 Updated by Chris topher almost 3 years ago
- Assigned To set to Chris topher
#7 Updated by Chris topher almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a96e8f7f6d70b8374a613cd992a63ae9a20a162b.
#8 Updated by Chris topher over 2 years ago
- Status changed from Resolved to Closed