Disabling a cck field with form alter in DRUPAL
I know that we can't modify a cck fied in hook alter like a standard field o开发者_运维技巧f a standard drupal form.
You can alter it, just like any other form. You must just make sure your hook is ran after the CCK, only then do you have the full CCK-ed form available.
You do that by setting weights in the system table.
精彩评论