"Group" menu items by node type

xell - May 26, 2009 - 04:09
Project:Auto Menu
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Here is my situation:
I need to put menu items for 2 different node types in the same parent. But I don't want to mess them up.

So I tried to hack the codes and use a simple solution:
I add a weight field in the node type settings form. So when inserting new menu items, weight will be set. This means different node types can have different weights. Their menu items will be "grouped" automatically.

Then I can use some css codes or the module called "special_menu_items" to do a better separating.

If needed I can upload my patch but I think it's quite easy. Maybe the maintainer can add this feature in next verstion.

Thanks for the useful module!

 
 

Drupal is a registered trademark of Dries Buytaert.