Active
Project:
Node Hierarchy
Version:
6.x-3.x-dev
Component:
Drupal/PHP Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2011 at 10:32 UTC
Updated:
14 Feb 2012 at 18:07 UTC
Let me start by saying: excellent work!
it would be nice if (either from the admin/content/node or a dedicated node hierarchy admin interface) the module could provide a way of choosing a parent for existing nodes.
It would be very easy to assign and change hierarchy and file paths for all those sites with 100+ nodes. This would definitely turn out in huge improvements for sites structure with no effort at all for all the administrators.
Comments
Comment #1
scriptaimago commentedHi all, again me
I'm using node hierarchy and it's awesome; problem is... it's quite frustrating to implement it on already existing site with plenty of nodes;
it would be perfect if from the edit node form, it could be possible, alongside with the create "Create new child", to add a "add existing nodes as child" button. The button would open a select box (with multiple options) listing all nodes available for nodehierarchy addition.
It's just an idea, if I had any serious PHP skills, I'd dig myself in making this addition; wretched me, I don't!
I hope at list to have given you a good suggestion (a starting point?)
Thanks, hope to hear from you, Lorenzo
Comment #2
jbylsma commentedOne of the nice parts of NH that I didn't really know about was the integration with the menu systems; you could easily move around items using "admin/build/menu-customize". Would that help you at all?
Comment #3
ironbuilt commentedsubscribing. this would be awesome...
Comment #4
scriptaimago commentedHi jbylsma,
You can certainly move menu items in "admin/build/menu-customize", but aliases remain just the same even if you "bulk update" in "admin/build/path" (even if you have set [fullnodehierarchy path] as the main and only pattern).
It would be perfect if the menu panel ("admin/build/menu-customize") could update aliases and establish new child relationships in nodehierarachy.
I don't think that is possible. That's why I proposed a nodehierarchy feature to control child assignment and consequent alias update from "bulk update" in "admin/build/path"
I'm not a php coder otherwise I woud have proposed a patch or integration myself.
Thank you all for your replies.
Comment #5
jbylsma commentedI'm trying to get back into the issue queue here. I don't think your suggestion is a bad idea, but I realized that you were talking about integration with Pathauto in your last post. If you have Node Hierarchy properly setup for the parent/child relationship, you should be able to use the Nodehierarchy Recursive Pathauto module I had written. It's a lesser priority to get it integrated in with Node Hierarchy, but it should help get your site updated easier.
Comment #6
webdrips commentedHi @jbylsma. Does your module automatically update child paths if the parent path is changed (say via re-saving the parent node with a new alias)? If not, is there some code in it I could borrow to implement this?
Comment #7
jbylsma commentedYup, it should, using Pathauto. It should also work with rearranging items through Drupal's menu system.