Bug #65661
Section Index does not display links but the actual content
Status: | Accepted | Start date: | 2015-03-11 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Alexander Schnitzler | % Done: | 0% |
|
Category: | Section Index | |||
Target version: | 1.9.x | |||
TYPO3 Version: | 4.7 | Reporter: | ||
PHP Version: | Is Regression: | No | ||
Has patch: | No | Affected Version: |
Description
This must be due to a changed general rending of css_styled_content from 4.7 on. 4.5 and 4.6 behave like desired.
Related issues
History
#1 Updated by Ines Willenbrock about 1 month ago
TemplaVoila 1.9.7 on TYPO3 6.2.13 shows the content and not link to the content, too
#2 Updated by Jose Antonio Guerra 6 days ago
Alexander Schnitzler wrote:
This must be due to a changed general rending of css_styled_content from 4.7 on. 4.5 and 4.6 behave like desired.
It is actually because of the TS changes on 'tt_content.menu.20.3'.
An ugly yet effective workaround is to override all the new TS of the menu and use the old code from 4.5, just like this:
tt_content.menu.20.3 > tt_content.menu.20 { # From 4.5... # "Section index (pagecontent w/Index checked - liststyle)" 3 < styles.content.get 3 { wrap = <ul class="csc-menu csc-menu-3">|</ul> select.andWhere = sectionIndex<>0 select.pidInList.override.field = pages renderObj = TEXT renderObj { fieldRequired = header trim = 1 field = header htmlSpecialChars = 1 wrap = <li class="csc-section">|</li> typolink.parameter.field = pid typolink.section.field = uid } } } tt_content.menu.20.3 = USER tt_content.menu.20.3.userFunc = tx_templavoila_pi1->tvSectionIndex tt_content.menu.20.3.select.where > tt_content.menu.20.3.indexField.data = register:tx_templavoila_pi1.current_field tt_content.menu.20.3.renderObj.if.value.field = sectionIndex tt_content.menu.20.3.renderObj.if.equals = 1