How to convert content type 'page' to 'book'?

vacilando - January 31, 2008 - 13:12

I seem to have seen somewhere it's possible to convert content type 'page' to content type 'book' and then be able to add child nodes to it.

If it rings a bell, let me know please.

You don't actually have to

WorldFallz - January 31, 2008 - 14:12

You don't actually have to convert the page types. If you have book module enabled (i'm assuming d5 here), you can just add it to the book page hierarchy. I don't believe it's available when you first create a "page", but when you go back to edit it, you'll have the "Parent" field available (assuming you have the proper permissions) and you can just insert the page into the book hierarchy that way.

WorldFallz thanks for

vacilando - January 31, 2008 - 14:47

WorldFallz thanks for answering -- what you say rings a bell but... when I edit any 'page' I do not have the 'Parent' field (except for in the menu) there!

Any idea why that might be?

I work as admin on that site so I have all rights, yes in D5 (v2).

Outline?

gareth_w - January 31, 2008 - 15:20

Is this not what the Outline tab on the edit page does?

Gareth

Oh, yes, that's what I

vacilando - January 31, 2008 - 15:54

Oh, yes, that's what I seemed to remember.

However, that only can include the given page into a book hierarchy.
Does that mean that any given page cannot possibly become the top of a book hierarchy ... correct?

no-- a page can be at top level.

WorldFallz - January 31, 2008 - 17:51

DUH... sorry about forgetting to mention "outline", my bad. I was thinking "edit" as in changing a page not "Edit" tab. Also the very first item in the drop down should be "<top level>" which would make it a top level page. Off the top of my head I can't remember if there are any permissions associated with making top level books-- if you OUTLINE a page and "<top level>" doesn't appear, it might be a permissions thing somewhere. But I have regular pages on my site that have been made top level pages. You can double check by looking to see if the page shows up as a book in admin/content/book.

EDIT: You say you are using super admin, so then it couldn't be permissions. Not sure what the problem might be if you don't see "<top level>" in the drop-down.

WorldFallz, you are right,

vacilando - February 1, 2008 - 13:02

WorldFallz, you are right, yes, it is possible. The Outline indeed allows users to add content type 'page' into any level of the 'book' hierarchy. Perfect!

Page converted to Book page using outline

garg_art - March 15, 2008 - 00:22
  • Drupal 6.1

    I converted a page to book using the outline and everything works fine. Except under the content management, when I try to limit the page to published book page, it shows none. There has to be some property that it creates at the time of creating that is not getting changes by using this technique.

    Need help to control the number of line items I see in my list of pages on Manage content....

    Thanks

  • typed pages to 6x9 book pages

    carmenromeo - July 12, 2008 - 16:58

    how do I convert typed pages to 6x9 book pages

    How do i convert a book (page) back to a page?

    mauricemengel - August 2, 2008 - 20:49

    How does it work the other way around? I can move the book (page) to a another book, but I dont see how I can turn an outlne of a book nor a normal book page back into a normal (static) page without the book navigation that really doesn't fit on this page... do I have to create a new page?

    There isn't a "Remove from

    WorldFallz - August 2, 2008 - 21:09

    There isn't a "Remove from book outline" button on the "Outline" tab for the page?

    ===
    "Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime."
    -- Lao Tzu
    "God helps those who help themselves." -- Benjamin Franklin
    "Search is your best friend." -- Worldfallz

    There's node type

    darumaki - August 2, 2008 - 21:02

    There's node type http://drupal.org/project/nodetype, you can use this to change content type

     
     

    Drupal is a registered trademark of Dries Buytaert.