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.
# Summary
Node Convert adds a menu tab "Convert" on the node view page, i.e. node/1/convert, which gives the ability to convert the node from its current node type to another node type. The module provides the means to transfer all the field values of the current node type into fields on the destination node type, or discard them.
# Project URL
https://www.drupal.org/project/node_convert
# Where is the code?
Unknown
# Estimated completion date
Unknown
# Dependencies
Unknown
# Who's doing the port?
Unknown
# What help do they need?
Unknown
# D8 roadmap
Unknown
# Background and reference information
Unknown
Comments
Comment #2
AlbanL74 CreditAttribution: AlbanL74 as a volunteer commentedIs someone consider porting this module to D8 ? I used it extensively in D7. IMO, it's a really useful one.
Comment #3
el1_1el CreditAttribution: el1_1el commentedI just made a content type conversion mod based on the following tutorials:
http://www.noreiko.com/blog/changing-type-node
http://enzolutions.com/articles/2015/12/22/how-to-get-content-type-field...
http://enzolutions.com/articles/2015/01/21/how-to-create-a-multi-step-fo...
I put it up at:
https://www.drupal.org/sandbox/el/2851641
and
https://github.com/mlibrary/convert_nodes
Do not use it on a production db without a backup! This works for the content types I needed to convert but may not on yours and could damage your db.
Feel free to give it a try on a dev instance and let me know how it works for you.
Comment #4
mlncn CreditAttribution: mlncn at Agaric for MASS Design Group commented@el1_1el tried out your module and it worked but this module here is about converting just one node at a time from one content type to another, not all nodes of a type at once.
Have you considered extending convert_nodes to cover the use case of node_convert?
Comment #5
el1_1el CreditAttribution: el1_1el commentedYeah that would be a good idea since node_convert hasnt been ported.
I'd be happy to help with a patch if you want to get started on it. :-)
Comment #6
el1_1el CreditAttribution: el1_1el commentedComment #7
nithinkolekar CreditAttribution: nithinkolekar commentedconverting one by one node by viewing is tedious IMO, instead https://github.com/mlibrary/convert_nodes can provide autocomplete element to select node(s) of source content type that needs to be converted.
BTW I tested that module and worked fine.
Comment #8
el1_1el CreditAttribution: el1_1el commentedprobably easier to work on it here - https://www.drupal.org/project/convert_nodes
Comment #9
bsnodgrass CreditAttribution: bsnodgrass at net2Community, Inc. commentedI appears that node_convert-7.x will be replaced by https://www.drupal.org/project/convert_bundles for D8. This was noted on the module referred to in #8
Can the maintainer confirm this?
Thanks
Comment #10
mmjvb CreditAttribution: mmjvb as a volunteer commentedWith convert_nodes and convert_bundles Closed(Duplicate) seems to reflect current Status.