Add child page should inherit parent's content type. Or should it ?

Created on 12 May 2009, almost 16 years ago
Updated 4 September 2024, 7 months ago

If I create a parent page with content type B, then "add child page" should create a new page of content type B. I would suggest the following code revision to line 54 of book.module. Or a new book module setting could allow a site admin to make this the default behavior.

// $child_type = variable_get('book_child_type', 'book');
$child_type = $node->type;
✨ Feature request
Status

Needs work

Version

2.0

Component
BookΒ  β†’

Last updated about 2 months ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024