Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export content type in Drupal 7

Is there a way to export a content type from a site and import it to another? I haven't found any modules to do that yet.

How would you achieve that? It's a useful thing to be done otherwise it is very time consuming to create the same content type over and over again.

like image 867
dianikol Avatar asked Jul 31 '11 03:07

dianikol


4 Answers

Try bundle_copy

It's like the old D6 content copy. For me its quicker.

like image 130
Eben Avatar answered Sep 29 '22 19:09

Eben


The Features module can export content types and allow you to import into another Drupal site.

like image 39
nmc Avatar answered Sep 29 '22 17:09

nmc


Bundle_copy & Features are good choices as have been suggested, but...

Give Importer a try if you want to create a new content type from external data.

  1. allows you to import a dump file:
    • XLS
    • CSV
    • others
  2. automatically creates a table which can then be used in Views
  3. can be sued to derive a content type from that point
like image 38
Flak DiNenno Avatar answered Sep 29 '22 19:09

Flak DiNenno


For options, please see the discussion over at http://drupal.org/node/1011620. There's also a simple copy/paste module available if Features is too cumbersome for your specific purposes: Bundle copy.

like image 43
colan Avatar answered Sep 29 '22 18:09

colan