Bug #37449
closed
Section Index incorrect output
Added by Edward A. Gabdullin over 12 years ago.
Updated almost 12 years ago.
Description
Section Index invalid conclusion
Good day!
After upgrading to TYPO3 4.7 is a problem of incorrect output content item "Menu / Sitemap" menu, type "Section Index". The menu elements are not shown, order the withdrawal of page elements broken, the elements appear again several times in an arithmetic progression. Intuitively, this can be seen here: http://elarum.ru/info/standards/tu-2452-029-05766801-94/. The problem is temporarily solved by connecting the static template version 4.6 or disconnecting the content element "Menu / Sitemap". The error most likely lies somewhere in here:
\typo3_src-4.7.1\typo3\sysext\css_styled_content\static\setup.txt
# "Section index (pagecontent w/Index checked - liststyle)"
3 < .default
3 {
special {
value {
override {
data = page:uid
if {
isFalse.field = pages
}
}
}
}
stdWrap {
outerWrap = <ul class="csc-menu csc-menu-3">|</ul>
}
1 = TMENU
1 {
sectionIndex = 1
sectionIndex.type = header
NO.wrapItemAndSub = <li class="csc-section">|</li>
}
}
Unfortunately, my knowledge is not enough TS to find solutions.
Files
- Status changed from New to Needs Feedback
Sounds like a duplicate of the two related issues.
Stefan Galinski wrote:
Sounds like a duplicate of the two related issues.
Even before adding this error, I made a fix described in Bug # 36616, they do not correct the situation.
Can you please post a screenshot with the wrongly rendered section menu of your mentioned page. Maybe I'am just blind, but I cannot see any section index on that page.
Stefan Galinski wrote:
Can you please post a screenshot with the wrongly rendered section menu of your mentioned page. Maybe I'am just blind, but I cannot see any section index on that page.
He should be on the page, but it is not!
The screenshots you can see everything. If necessary, give access to the admin.
Currently only elements in the column with the id 0 are shown in the section module. This should be made more flexible by the new typoscript property explained in #21142. I'am not sure how templavoila handles this (try to just write 1=1 inside the setting value).
I had the same problem with the missing section items and fixed it by the combination of the two patches provided in the two related issues.
Review Request (the second one must be changed if the first one will be applied):
https://review.typo3.org/#/c/11251/
https://review.typo3.org/#/c/11249/
- Status changed from Needs Feedback to Closed
No further feedback was provided for some months.
After upgrading to 4.7.7 I have the same problem. Section Index does not appear at all, instead headers and content are repeatedly displayed.
Including template CSC 4.6 causes the section index to be rendered properly.
I have attached two screenshots which illustrate the problem.
I can confirm this problem. Also the suggested solution (reverting to css_styled_content from 4.6) works.
It also seems as if updating to 4.7.7 made the section index menu ignore "Show in section menus" flags in content elements. In my backup 4.5.10 installation the section index adheres to these flags. But in the updated version, all content elements in this page are shown in the section index regardless of the "show in section menus" option.
I didn't change anything but upgrading. I double checked if the "includeNotInMenu" option of typoscript menus is set though.
Is this related or a completely different issue?
Do you use templavoila? I use it and to me it seems as if templavoila is the cause for the improper rendering of the section index.
tt_content.menu.20.3.userFunc = tx_templavoila_pi1->tvSectionIndex
Can someone confirm that?
I created a issue over at templavoila's tracker to check: #45583
Also available in: Atom
PDF