hi there,

i have I problem with node relativity trying to call child nodes when the custom content type (type) of the child note contains an underscore. node relativity creates an url like .../node/add/content_type/parent/xx for a content type having the type 'content_type'. drupal call up url would be .../node/add/content-type/parent/xx though. please refer to this related issue: http://drupal.org/node/206670.

thanks for any help.
kind regards, Peter.

CommentFileSizeAuthor
#1 relativity-251802-1.patch917 bytesslip

Comments

slip’s picture

Title: underscores and hyphens » When a type has an underscore, its nodes can't be set as children on creation
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new917 bytes

This should do the trick. Allows you to add a node as a child when its type contains an underscore. It works in a similar fashion to patches in the link you posted.

davea’s picture

Status: Needs review » Closed (fixed)

I have been testing this patch in production for months now and I just received CVS access today.

I have comitted this to the latest 6.x.1.x-dev version.

Thanks!
DaveA