Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Extra functionality related to the Node Hierarchy module for Drupal 7. The module contains the following sub-modules:

  • Node Hierarchy Recursive Pathauto
  • Node Hierarchy Feeds Mapper

Node Hierarchy Recursive Pathauto

Recursively updates aliases provided by the Path Auto module. When a parent node is renamed and it's alias gets updated, this module recursively updates the aliases of all descendant nodes. Rearranging nodes through the menu link list page is also handled in the same way.

Required Modules:

The code for this was initially based on an existing drupal 6 version.

Minimally tested using the pathauto pattern on a standard 7.14 installation:
[node:nodehierarchy:parent:url:path]/[node:title]

Node Hierarchy Feeds Mapper

A mapper for the feeds module. This allows importing hierarchical nodes. Currently only GUID is supported as a target field.

Required Modules:

To use this module structure a CSV file as follows:

id title parentid
1001 Parent A
1002 Parent B
1003 Child A1 1001
1004 Child A2 1001
1005 Child B1 1002
1006 Child B2 1002
1003 Grand Child A11 1003
1003 Grand Child A12 1003

Create a new Feeds Importer with the following settings:

  • Fetcher: File upload
  • Parser: CSV parser
  • Processor: Node processor

Add the mappings:

Source Target Unique Target
id GUID Yes
title Title No
parentid Node Hierarchy Parent GUID No

Minimally tested on a standard install of Drupal 7.14

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Created by andrew@oscailte.org on , updated