This project is not covered by Drupal’s security advisory policy.

This module lets you select an existing cck_node type and creates module install code for the cck node, cck fields as well as the referenced taxonomy.

This is usefull if you create a module based on cck and need to make an installer that generates the cck strucure (not the content).
Creating modules based on cck/views is fast and flexible, but hard to replicate from a development server to a live server without migrating the entire database.
This module solves the problem.

Create your cck node type like normal using the web interface.
Use this module to generate the install code and place the install code in your module for update_1

Currently this just lets you select a cck node type and generates install code for all of the cck tables, as well as all of the taxonomy referenced by the cck node_type.
If your cck node type references taxonomies generated by other modules you will need to manually delete the install code for those taxonomies from the genrated install code.
The taxonomy generation code uses the taxonomy api, so it is pretty easy to remove. I will add comments to make this easier and eventually allow selecting what to create.

Project information

  • Project categories: Developer tools
  • Created by regx on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases