I don't think this is worth of a core feature. <br><br>The need for this is not very often, and if you are using anything other than<br>4.7 basic types (e.g. CCK for 4.7, or 5.0 onwards), then all bets are off.<br><br>
<div><span class="gmail_quote">On 1/1/07, <b class="gmail_sendername">Larry Garfield</b> <<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Well, for 4.7.x page and story nodes, it's easy to implement. How easy would<br>it be for Drupal 5 nodes, where every node is essentially a CCK node? Then<br>add in actual CCK fields? Now it gets quite complicated indeed, unless
<br>you're OK with random data loss along the way.<br><br>On Monday 01 January 2007 10:13 pm, Chris Kennedy wrote:<br>> You should also submit a feature request for Drupal to have an interface<br>> for this. It would be handy and easy to implement.
<br>><br>> Walt Daniels wrote:<br>> > Thanks, I did read the code in both story.module and page.module and<br>> > they are quite similar other than the help text and names of variables<br>> > story vs page. However page has some additional code in hook_form
<br>> > dealing with logs of changes which looks useful.<br>> ><br>> > ------------------------------------------------------------------------<br>> > *From:* <a href="mailto:development-bounces@drupal.org">
development-bounces@drupal.org</a><br>> > [mailto:<a href="mailto:development-bounces@drupal.org">development-bounces@drupal.org</a>] *On Behalf Of *Khalid B<br>> > *Sent:* Monday, January 01, 2007 9:17 PM<br>
> > *To:* <a href="mailto:development@drupal.org">development@drupal.org</a><br>> > *Subject:* Re: [development] Converting stories to pages<br>> ><br>> > Changing it in PHPMyAdmin should be a safe bet, since story and page
<br>> > have the same<br>> > identical fields, and stored in the node table.<br>> ><br>> > So, you can execute this SQL (do a dump first):<br>> ><br>> > UPDATE node SET type = 'page' WHERE type = 'story';
<br><br>--<br>Larry Garfield AIM: LOLG42<br><a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a> ICQ: 6817012<br><br>"If nature has made any one thing less susceptible than all others of
<br>exclusive property, it is the action of the thinking power called an idea,<br>which an individual may exclusively possess as long as he keeps it to<br>himself; but the moment it is divulged, it forces itself into the possession
<br>of every one, and the receiver cannot dispossess himself of it." -- Thomas<br>Jefferson<br></blockquote></div><br>