[TYPO3-core] RFC #12065: HMENU - sectionIndex does not allow to select other CEs than colPos = 0
Francois Suter
fsu-lists at cobweb.ch
Fri Sep 25 21:03:15 CEST 2009
Hi,
> Problem:
> 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 TypoScript option
> "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=...".
Something similar was already discussed in "RFC: Feature Request #6882:
Enable stdWrap for select.where", which is left pending because of
security worries.
Furthermore, this is achievable using "andWhere", e.g.
tt_content.menu.20.3.select.where >
tt_content.menu.20.3.select.andWhere.noTrimWrap = || AND colPos = 1|
Or did you have something else in mind?
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list