Actions
Bug #62719
closedHMENU -> 'browse' -> items=prev fails at the second Item
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-11-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
The 'page 1' is active in my page-tree
start - page 0 - page 1 (acitve) - page 2 - ...
The following TypoScript in TYPO 6.2.6 don't generate a link to the prev-Page 'page 0'
lib.menu.pager = HMENU lib.menu.pager { special=browse special { items = up|prev|next prev.fields.title = <span class="left"><<</span> next.fields.title = <span class="right">>></span> up.fields.title = <span class="up">||</span> } 1 = TMENU 1 { NO = 1 } }
The reason is the usage of array-key as a boolean flag to detect the first previous link in the result-Array
see typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
in line 747 (and similiar in line 776 for prevsection)
I attached a correted version.
Dieter
Files
Updated by Benni Mack about 10 years ago
Seems to be a duplicate of https://forge.typo3.org/issues/62719 - right?
Updated by Frederic Gaus almost 10 years ago
- Status changed from New to Closed
I would also say this is a duplicate. This is fixed in 6.2.10rc1 and will be fixed in 6.2.10.
@Dieter Porth, please create a new ticket or reopen this one if you think this ticket is not fixed yet. Thanks!
Actions