drupal-node-hook
Set a custom message after saving a new node
Im trying to set a custom message that gets shown to users after they submit a new node.开发者_开发百科This message is going replace the standard \'@type %title has been created.\'[详细]
2023-02-20 16:07 分类:问答How do I set the value for a CCK Node-reference field automatically when create form submits
I have a content type (A) that references a single node of a different content type (B). The node referenced (B) can be programmatically determined using the information for the user creating this new[详细]
2023-01-17 05:28 分类:问答Drupal cck checkbox with global setting
I am creating a \"sticky\" checkbox for my content type \"news\". this means that one news node is sticky, and is used in a banner like box.[详细]
2023-01-15 11:20 分类:问答How do I update a node (book or Page) before saving it without touching the module code in Drupal?
I would like to set some values开发者_StackOverflow in the node before actually writing the data to the DB. I already have it working by modifying book_nodeapi but I would like to do it from outside t[详细]
2022-12-31 11:32 分类:问答How can I load the title of parent item in Drupal
I want to extend Nodes with the title of the parentnode so I can display a hierarchy link. I have a solution that sometimes works:[详细]
2022-12-29 13:16 分类:问答Drupal 5: CCK fields in custom content type
I have module that implements custom content type via NodeAPI hooks (hook_insert, hook_update etc). I want to add CCK field to this content type and populate it via hook_nodeapi calls like create or u[详细]
2022-12-24 05:57 分类:问答