Closed (fixed)
Project:
Node Hierarchy
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 10:13 UTC
Updated:
26 Dec 2008 at 15:53 UTC
The bug appears when node type has "_" characters in its name (like "my_nodetype"). Drupal somehow changes it to "-" in URL (to "my-nodetype"), nodehierarchy doesn't, that is why links "create new child" don't work.
Below I present solution to this problem:
file: nodehierarchy_theme.inc
diff original_file modyfied_file:
85a86
> $key = str_replace("_","-",$key);
Comments
Comment #1
ronan commentedFixed in dev (both 5 and 6). Thanks for finding this.