开发者

Export content type in Drupal 7

开发者 https://www.devze.com 2023-03-24 06:03 出处:网络
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.

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.

  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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号