Project

General

Profile

Actions

Feature #17747

closed

Integrate possibility to reverse order of rootline HMENU

Added by Ralf Hettinger about 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2007-11-02
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

Suggesting a TYPOSCRIPT parameter for HMENU special=rootline property which would trigger outputting a rootline menu to the rootline instead of a menu from the rootline by simply reverting the order of items within such a HMENU.

Could be achieved with a very simple patch of class.tslib_menu.php

The attached patch implements
special.reverseOrder = [boolean]
to realize this feature.

(issue imported from #M6637)


Files

6637_4.1.3.patch (523 Bytes) 6637_4.1.3.patch Administrator Admin, 2007-11-02 18:02
6637_trunk.patch (569 Bytes) 6637_trunk.patch Administrator Admin, 2007-11-09 00:43

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #19629: Integrate the option "reverseOrder" for a complete HMENUClosed2008-11-22

Actions
Related to TYPO3 Core - Bug #19633: Patch for Issue #0006637 (rootline reverse order) will result in broken link behaviorClosed2008-11-23

Actions
Actions #1

Updated by Martin Kutschker about 17 years ago

Looks ok expecpt the "$temp = array_reverse($temp);" and the fact that the patch isn't based from root (typo3/sysext/cms). If you change that you can post it on the core list (please follow the guidelines on other formal criteria for posting).

Actions #2

Updated by Ralf Hettinger about 17 years ago

Well, thanks for replying, Martin.

Changing the path diffed certainly isn't a problem, but I must admin I don't know where you see a problem with "$temp = array_reverse($temp);" since the menuitems are collected within $temp. In case of rootline, there won't be a multi-dim array as well. Re-assignment shouldn't give problems, does it?

Could you please clarify?

Actions #3

Updated by Martin Kutschker about 17 years ago

I had only a look a the code and fhought you tried to use $temp for $rl_MParray. I see now htat both variables are used later on. So forget it, my mistake.

Actions #4

Updated by Oliver Hader about 16 years ago

Committed to SVN Trunk (rev. 4402)

Actions

Also available in: Atom PDF