Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module is almost exactly what I've been looking for! However, I would really like for it to be able to bulk convert posts from the Content page. I converted a 300+ Page (not blog posts) WordPress site over to Drupal with the wp2drual module and it pushed all of the Pages into the Blog node :-(. Now I've got to manually modify 300+ pages into the proper node type PLUS recreate the original page hierarchy...
Interested?
Comment | File | Size | Author |
---|---|---|---|
#20 | nodetype6_0.patch | 943 bytes | andypost |
#13 | nodetype6.patch | 748 bytes | reaneyk |
#6 | nodetype6.patch | 631 bytes | andypost |
Comments
Comment #1
FreeFox CreditAttribution: FreeFox commentedHow did you know I would search for the same thing 16 hours later. I've exactly the same problem. My suggestion would be to integrate this possibility in the content page. There you have check boxes already in place and if you add "Change node-type" in the list of the "Update options" it would integrate nicely.
How does this sound?
I'm eager to know when this would be possible.
Thanks in advance
Jan
Comment #2
fellow CreditAttribution: fellow commentedI also want this feature. Thank you!
Comment #3
momper CreditAttribution: momper commented+1
Comment #4
lomz CreditAttribution: lomz commented+1
Comment #5
andypostFor use at admin/content/node adds operations like
- Set type to Page
- Set type to Story
Comment #6
andypostSorry, forget about access
Comment #7
tecnosalva CreditAttribution: tecnosalva commentedsorry, bat this patch d'ont work for Drupal 5.11. In admin/content/node appear:
- Set type to Page
- Set type to Story..
however when update, the type nodes d'ont change.
Thanks in advance
Salva
Comment #8
andypostThis patch for 6.x
About 5.x branch - this batch operation should be written as function!
Comment #9
tecnosalva CreditAttribution: tecnosalva commentedThen, It is not possible the bulk "Change node type" in drupal 5.x with this module?
Thank you!
Comment #10
andypost@capitanZ everything possible but what for :) It's a lot of code to produce for old branch
Comment #11
jcamfield CreditAttribution: jcamfield commentedYeah, but 5.x has a large install base...
+
:)
Comment #12
reaneyk CreditAttribution: reaneyk commentedHmmm, I'm getting the following error when I try to change the node type of several nodes:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_mass_update' was given in /mysite/sites/default/modules/views_bulk_operations/views_bulk_operations.module on line 532.
Using:
VBO 6.x-1.5
NodeType 6.x-1.0 with applied patch
Comment #13
reaneyk CreditAttribution: reaneyk commentedSeems that node.admin.inc must be included in order for this to work. I've attached an updated patch.
KC
Comment #14
krabbe CreditAttribution: krabbe commentedSorry, I'm still a newbee in drupal.
Where do I put the batch-file, or what do I do with it.
Or do I have to put the function into the template.php?
I have to change so many content-types, so that I really would appreciate some hints.
Thanx.
Comment #15
andypost@reaneyk my patch from #6 is for standard admin/content/node so there's no need to include node.admin.inc because it's done already
but for VBO it's required (I never used VBO before)
Comment #16
tsi CreditAttribution: tsi commentedI'm in need for this feature too but just could not get the hang of patch work, if someone is willing to published the pached module i'll be more then happy to test it.
Comment #17
sinasalek CreditAttribution: sinasalek commentedSubscribed
Comment #18
kerberos CreditAttribution: kerberos commentedWe added Views Bulk Operation support as well as Rules module support (as a trigger) to this for a client (on top of the configurable content types from the patch). We are planning on contributing the changes back to this project if the maintainer is interested.
-Daniel
Adulmec
Comment #19
asb CreditAttribution: asb commentedHi,
thank you for the patch - #13 applies cleanly and works fine!
I'd love to see this in the next release of the 'Nodetype' module, as well as VBO support (#18)!
Greetings, -asb
Comment #20
andypostThis patch should be changed to use API
Comment #21
kerberos CreditAttribution: kerberos commentedWe put our version of this patch with some extra functionality here:
http://drupal.org/node/682272