I am googling but not finding docs on how a module could add/remove a CCK field to/from a node type. I found this http://api.audean.com/api/file/files/contributions/docs/developer/examples/n... but this seems to do it all "manually" and not via CCK. Perhaps I am just missing it however...
Anyhow, can anyone share with me how to do this?
Thanks!
I am googling but not finding docs on how a module could add/remove a CCK field to/from a node type.
OK, sending this post helped! I found this now http://drupal.org/node/702156 which has a link to http://drewish.com/node/118 and it seems there are solutions there.
Thanks.
See the http://drupal.org/project/install_profile_api, specifically:
http://drupalcode.org/viewvc/drupal/contributions/modules/install_profile_ap...
-Mike __________________ Michael Prasuhn 503.512.0822 office mike@mikeyp.net http://mikeyp.net
On Aug 8, 2010, at 8:49 AM, Fred Jones wrote:
I am googling but not finding docs on how a module could add/remove a CCK field to/from a node type. I found this http://api.audean.com/api/file/files/contributions/docs/developer/examples/n... but this seems to do it all "manually" and not via CCK. Perhaps I am just missing it however...
Anyhow, can anyone share with me how to do this?
Thanks!
[ Drupal support list | http://lists.drupal.org/ ]
See the http://drupal.org/project/install_profile_api, specifically:
http://drupalcode.org/viewvc/drupal/contributions/modules/install_profile_ap...
Thanks. My issue is to be able to add fields on the fly, however. Drewish.com seems to have the solution.
Thanks!