Bug #34982
closed
HMENU: With entryLevel = 4 no menu will be displayed
Added by Bojo over 12 years ago.
Updated over 9 years ago.
Description
I try to generate a HMENU on entryLevel 4, but no menu will be generated. EntryLevel 3 works fine and the subpages on level 4 are also shown as expected. TYPO3 Version is 4.6.6 but the same behavior appears with version 4.6.0 and 4.6.4.
Webserver is Apache/2.0.63 (CentOS)
I'm looking for a solution since several days and would be very happy about any help!
lib.sortmenu = COA
lib.sortmenu {
10 = HMENU
10 {
wrap = <div id="sortmenu">|</div>
entryLevel = 3
expAll = 1
1 = TMENU
1 {
NO = 1
NO.allWrap = <li>|</li>
alternativeSortingField = title
wrap = <ul>|</ul>
noBlur = 1
}
2 < .1
3 < .1
}
}
Hi Bojo,
the category should be "Typoscript".
This category is used for the pagetree in the backend, so you bug report might get lost around here.
Please update your report with the correct category so the right people can work on it.
Thanks
Mathias
- Category changed from Pagetree to TypoScript
- Subject changed from entryLevel to HMENU: With entryLevel = 4 no menu will be displayed
I can't reproduce the issue. I used the given code with entryLevel=4 and the menu of pages below this level were displayed correctly.
TYPO3 Version 4.6.4 and 4.6.12
We experienced somewhat similar problems running 4.5.20. But here we used it with special=rootline. You could increase entryLevel one by one without any change (rootline starting root of website was shown). But as soon as the current level was reached the menu disappeared.
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
This could be closed IMHO as a duplicate of #34983 which has already been closed.
Nonetheless, in TYPO3 6.2.9 I've done the following test:
1.Create a page structure like this:
[1]Home
> [8]page 1
> [11]sub-page 1
> [15] sub-sub-page 1
>[16] sub-sub-sub-page 1
2. TS setup:
page.20= COA
page.20 {
10 = HMENU
10 {
wrap = <div id="sortmenu">|</div>
entryLevel = 3
expAll = 1
1 = TMENU
1 {
NO = 1
NO.allWrap = <li>|</li>
alternativeSortingField = title
wrap = <ul>|</ul>
noBlur = 1
}
2 < .1
3 < .1
}
}
3. go to sub-sub-page 1(id=15)
RESULT: the menu with the page sub-sub-sub-page 1 (id=16) is visible
- Status changed from Needs Feedback to Closed
- Target version deleted (
4.6.7)
Also available in: Atom
PDF