First: great module. I was looking for it for a while now.

Now you get a new block for every level, but it would be nice if you could place two or more levels in the same block. For example: The first level at the top of your site and level 2 & 3 in a block in the left or right sidebar.

Comments

alwex’s picture

Sound good to me, it can make menus more flexible.

Maybe in au future release.

Thanks for the idea.

alwex’s picture

Sound good to me, it can make menus more flexible.

Maybe in a future release.

Thanks for the idea.

cornflakes’s picture

Yes would be great if one can define the number of levels of the menu that should be showed in one block. Especially I would prefer it when there would be an option to say that from this level on all others should be shown.

So long. Great module. Keep up the good work.

sun’s picture

Component: User interface » Code

+1 in general - the first use case I can imagine is to have level 1 (like primary menu rendered horizontally), level 2+3 (like regular tree navigation in a block) and level 4+ (regular tree navigation in another block).

Additionally:
I'm the maintainer of Drupal Administration Menu and already thought of re-using the code of Sliced Menu for Admin Menu. To achieve this and somehow extending this issue, Sliced Menu would have to be able to slice a whole menu tree beginning from a certain menu item (i.e. 'administer', resp. /admin). Is this feasible or should I rather forget this idea?

alwex’s picture

Actually, this is not possible, but when I'll have some time, I will look forward this functionality.

halla’s picture

I agree with my Pre-Posters: Great Module, exactly what I was looking for.

Putting multiple Levels in one Block is the only feature I really miss. Would be really nice if this becoms possible in upcoming releases, since it would be possible to put the main regions of a page (1st Level) in a tabbed, horizontal navigation bar and all of the other (2nd, 3rd, etc) Levels in one of the available sidebars, using just one box - this makes it much clearer which item has which parent/child item.

pieterdc’s picture

Version: 5.x-1.x-dev » 5.x-1.0
Status: Active » Needs work
StatusFileSize
new3.8 KB

I was waiting for this feature but couldn't wait any longer.
So I wrote a patch myself.
It let's you choose from which level on the menu doesn't need to be sliced any more.
Have fun!

You can see a demo (in Dutch) .. the horizontal menu's are sliced, the menu at the left sidebar is not...

alwex’s picture

Thank you for the patch.

If you agree, I'll integrate it to the module.

sun’s picture

Status: Needs work » Needs review

Correct status.
I'll try to review and test this patch asap

pieterdc’s picture

@alwex : I surely don't have a problem with this patch being integrated in the module itself.

@sun : Thanks in advance for reviewing the patch. You'll notice a difference in the theming function between the sliced menu parts and the unsliced ones.. I use theme_menu_tree() for the unsliced part of the menu.

alwex’s picture

It's ok with your patch. I will make au quick review of the code and then commit to the CVS as soon as possible. It works greatly, thanks.

I am proud to anouce you all that the module is ready to work with Drupal 6, just a few corrections needed to be in accordance with the Drupal code style and it will be ready to commit !

HansBKK’s picture

27 weeks later, is this module being maintained at all?