[development] How to create a content type and a field

Randy Fay randy at randyfay.com
Tue Feb 1 01:28:53 UTC 2011


If you're talking about Drupal 7, the node example and field example in the
Examples project will be useful (http://drupal.org/project/examples).

For Drupal 6, the node example in Examples explains how to add extra data
and behavior (not really fields).

And Jeff's link is one of several ways to add CCK fields in D6.

-Randy

On Mon, Jan 31, 2011 at 6:25 PM, <jeff at ayendesigns.com> wrote:

> http://drupal.org/node/1044248
>
>
> On 01/31/2011 07:36 PM, Fernando Correa da Conceição wrote:
>
> Please, can you give me a example(or a module that does this) how to create
>> a content type inside a module and how to add a new field to the content?
>>
>> Thanks
>>
>


-- 
Randy Fay
Drupal Module and Site Development
randy at randyfay.com
+1  970.462.7450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110131/8ed5fbf5/attachment-0001.html 


More information about the development mailing list