If content-type contatins "_" in machine-readablename (Type) then URL should contain "-". Example: Type: educ_page. URL for add child page will be node/add/educ-page
Decision: In file book_inherit_type.module
Row: 20
Current row: $links[$module]['href'] = 'node/add/'. $child_type;
Change to $links[$module]['href'] = 'node/add/'. str_replace("_", "-", $child_type);
Or use special Drupal API function for prepare URL if that exists (I do not know).
Comments
Comment #1
criznach commentedOk, I think you're right and I'll take another look. I thought I'd borrowed code like yours from book.module but maybe not. Thanks!
Comment #2
criznach commentedShould be fixed in 6.x-1.x-dev. Wait for the snapshot to be published or check out from CVS. Thanks.