<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 31 May 2007, at 8:29 PM, Boris Mann 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">Yes, there is currently no way to do CRUD with CCK stuff. And it hurts</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">install profiles. So, making the CRUD bits with CCK happen will enable</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">this for modules AND let you also create on-the-fly node stuff in</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">install profiles.</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>Perhaps just adding a hook_node_fields($type), which is a cck data structure to be imported</DIV><DIV>into the db. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then the modules could just expose bog standard drupal nodes, and add the fields to them.</DIV><DIV>I don't know cck well enough to know whether something like this doesn't exist.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You'd also need to dump the node type settings, but that's a single var per type, iirc.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It should be possible to dump multiple node types to a module too, so you could have a</DIV><DIV>$profile_node_types.module be generated , to set all that up.</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>