[TYPO3-core] RFC: Feature #6452: option end for HMENU / and negative values for begin and end
Ingmar Schlecht
ingmar at typo3.org
Thu Jan 31 12:06:49 CET 2008
Looks like a nice improvement.
Do I get it right that this behaves similar to the parameters of the php
function substr() then?
Comments:
- Change $endat => $endAt or just $end to be in line with $begin.
- The RFC is lacking documentation attached as a txt file as described
in http://typo3.org/teams/core/core-mailinglist-rules/ (watch our
fot the sentence "If your patch changes something that needs to be
documented...")
I didn't test it.
cheers
Ingmar
Daniel Pötzinger schrieb:
> This is an SVN patch request
>
> Type: Feature
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=6452
>
>
> Branches:
> Trunk only
>
> Problem:
>
> HMENU can have the option "begin".
> a) Currently only positive values are allowed: so you can only define a
> offset from the beginning of the menuitems.
> b) there is no "end"
>
> This is useful for special menus (like splitting a menu to diffrent
> positions in the webpage, or do tricky stuff where optionSplit do not work)
>
>
> Solution:
> So we needed to adjust tslib_menu to allow:
> * the parameter end to configure a endpoint
> * allow negative values for begin and end, so you can define a offset
> from the end of the menuitems
>
>
>
--
Ingmar Schlecht
TYPO3 Association Active Member
More information about the TYPO3-team-core
mailing list