<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 30 Nov 2007, at 9:12 AM, Augustin (Beginner) wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">But the profile documentation implies the contrary:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="http://drupal.org/node/67921">http://drupal.org/node/67921</A></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">the modules (including core required modules and their functions) are<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">NOT yet included when running hook_profile_modules() (which calls<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">hook_install()). The modules are included only at a later stage,<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">hook_profile_final().</FONT></P> </BLOCKQUOTE></DIV>i ran into the same issue<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i found out it's impossible to create a cck node type, and then add a node using the api using a _install</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i ended up creating an install profile just to use _final().</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>was a long 3 hours of debugging.</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>