It's for 7.x-4.x-dev really.

The patch contains:
- some fixes (such as removing missing JS file reference)
- moving menu related settings in nodehierarchy_menu module
- a draggable form with entire hierarchy tree for any node in hierarchy (convenient replacement of draggable menu interface when nodehierarchy_menu module is not enabled)

Other changes I'd like to see:
- optimize hook_node_load() by checking if node can be in a hierarchy before performing DB queries
- add nodehierarchy_ancestors module which stores all ancestors (not just parents) of the node and provides views relations and filters for node ancestors

BTW, nodehierarchy and nodehierarchy_menu modules defines the same DB table. This should be solved in a smart way.

Comments

maximpodorov’s picture

StatusFileSize
new12.44 KB
maximpodorov’s picture

StatusFileSize
new12.88 KB

The updated patch includes the following modification:
- the items of irrelevant node type are deleted from the tree, not just marked as disabled

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

Status: Needs review » Needs work

The patch doesn't apply anymore.

damienmckenna’s picture

StatusFileSize
new12.55 KB

Rerolled.

damienmckenna’s picture

Status: Needs work » Needs review
damienmckenna’s picture

After saving a node the following error shows:
Notice: Undefined variable: nodes in _nodehierarchy_save_node() (line 750 of nodehierarchy.admin.inc).

damienmckenna’s picture

StatusFileSize
new12.38 KB

So _nodehierarchy_save_node() didn't need a return statement after all.

maximpodorov’s picture

I'm developing a new general framework for entity hierarchies, since this project can't satisfy all the requirements of complicated projects (like multiple hierarchies containing the same entities).