2

I want to create a module which would need custom content types from the cck module. I know in the .info I can say a dependency is the cck module.

How can I best have the module create the content type? I want this to be easily distributed rather than when I put it on a website I have to also create the content type using cck.

3

One way is to create an export of a CCK content type to use in the module. For an example of this method see How to create a CCK content type and fields from a module.

Another exported CCK example

1
  • 2
    Features can be of great help as well setting up fields and configuration. – googletorp May 26 '11 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.