Bug #16208
closedanchorlinks / sectionIndex in tt_menu.20.7.2
0%
Description
When adding a "Menu of subpages to these pages + sections" in Typo3 4.0 the anchors of the sections are not set correctly. The "c" in front of the CType uid is omitted and thus, the link won't jump to the content element selected.
All "c-anchors" seem to work except for this type of menu.
Adding sectionIndex & sectionIndex.type to the default TS makes no difference:
- accessible menu
tt_content.menu.20 { # "Menu of subpages to these pages + sections - liststyle"
7.wrap = <ul class="csc-menu csc-menu-7">|</ul>
7.1.NO.allWrap >
7.1.NO.wrapItemAndSub = <li>|</li>
7.2.wrap = <ul>|</ul>
7.2.sectionIndex = 1
7.2.sectionIndex.type = header
7.2.NO.allWrap >
7.2.NO.wrapItemAndSub = <li class="csc-section">|</li>
7.2.NO.ATagTitle.field = description // title
}
Workaround as described in http://bugs.typo3.org/view.php?id=3306 is not applicable.
Might be a bigger issue concerning all menuObjects in combination with [menuObj].sectionIndex?
(issue imported from #M3612)
Updated by Martin Kutschker over 18 years ago
try changing line 1425 of t3lib_tstemplate:
$LD['sectionIndex'] = $page['sectionIndex_uid'] ? '#c'.$page['sectionIndex_uid'] : '';
I did not test it but it should fix this issue.