<div>If you're talking about Drupal 7, the node example and field example in the Examples project will be useful (<a href="http://drupal.org/project/examples">http://drupal.org/project/examples</a>).</div>
<div> </div>
<div>For Drupal 6, the node example in Examples explains how to add extra data and behavior (not really fields). </div>
<div> </div>
<div>And Jeff's link is one of several ways to add CCK fields in D6.</div>
<div> </div>
<div>-Randy<br><br></div>
<div class="gmail_quote">On Mon, Jan 31, 2011 at 6:25 PM, <span dir="ltr"><<a href="mailto:jeff@ayendesigns.com">jeff@ayendesigns.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><a href="http://drupal.org/node/1044248" target="_blank">http://drupal.org/node/1044248</a>
<div>
<div></div>
<div class="h5"><br><br>On 01/31/2011 07:36 PM, Fernando Correa da Conceição wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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?<br>
<br>Thanks<br></blockquote></div></div></blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1 970.462.7450<br>
<br>