[development] Converting stories to pages

Khalid B kb at 2bits.com
Tue Jan 2 02:17:04 UTC 2007

Changing it in PHPMyAdmin should be a safe bet, since story and page have
the same
identical fields, and stored in the node table.

So, you can execute this SQL (do a dump first):

UPDATE node SET type = 'page' WHERE type = 'story';

On 1/1/07, Walt Daniels <wdlists at optonline.net> wrote:
> I have mostly pages and a few stories. There is no obvious reasons why the
> ones that are stories are stories so I would like to convert them to
> pages.
> Obviously I can do this by pasting the story stuff into a new page. But
> then
> all the links will still go to the old story and I would have to find all
> the links and fix them. I have not seen any way of finding all the links
> to
> a particular node.
> What woud happen if I just went into PHPMyAdmin and changed the type field
> from story to page? Would this break anything?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070101/bfa5a5d0/attachment.htm 

More information about the development mailing list