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 开发者_C百科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.
Try bundle_copy
It's like the old D6 content copy. For me its quicker.
The Features module can export content types and allow you to import into another Drupal site.
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.
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.
- allows you to import a dump file:
- XLS
- CSV
- others
- automatically creates a table which can then be used in Views
- can be sued to derive a content type from that point
The features module makes this a breeze
I have used backup_migrate module to migrate from Drupal 6 to Drupal 7 and I would highly recommend this module.
精彩评论