drupal-alter
Registration during content creation in Drupal?
Is there an easy way to allow a user to register as he creates content type. E.g. Let\'s say there is a content type called \"listing\". When the user clicks to on a link to create it, and he\'s not l[详细]
2023-01-01 17:01 分类:问答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 分类:问答Checking whether a user already exists in drupal
When a user enters his login information and hits submit, i want to check if the user already exists or not.[详细]
2022-12-30 06:11 分类:问答form layout in drupal from a module
I created my own module called \"cssswitch\". I\'m trying to create my own html layout to display the admin form portion of the module. I understand how to use the hook_form_alter() to modify form ele[详细]
2022-12-30 00:35 分类:问答drupal module alter view or node
I have been using hook_alter to modify forms in a custom PHP module. I started to take the same approach modifying the result page of \"node add\" form.However this page is not a form so I don\'t have[详细]
2022-12-27 20:04 分类:问答Drupal: adding disclaimer text above the submit button in a webform
Is there an easy-ish way to modify the webform-form-tpl.php template to show disclaimer text above the submit button in a Drupal webform? I can add text below the button, but do not know how to split[详细]
2022-12-27 13:01 分类:问答Drupal hook alter with hook validate
I hav开发者_如何学Pythone a CCK defined form called \'mytype_node_form\'. I create a module called form_overrides[详细]
2022-12-27 06:43 分类:问答Drupal: collapse CCK Fields in edit content pages?
can I collapse the field in my edit-content page in Drupal ? For example, at the bottom of the page Revision Information, URL Path Settings, Authoring Information etc are collapsed.[详细]
2022-12-27 04:37 分类:问答How to override form action in Drupal?
I originally started this question in another thread, but that thread was sorta, kinda answered, and now I primarily want to know how to specify another form act开发者_如何学JAVAion... I tried using t[详细]
2022-12-08 08:26 分类:问答