This forum is for module development and code related questions, not general module support. For general support, use the post installation forum.

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Pass Taxonomy term through Webform


I'm very new to Drupal, so please be gentle!

I've created a webform that is associated with a content type named Events. Not all events will have the same associated taxonomy term. For example, one event may be math and another may be literature. I would like to pass the taxonomy term associated with particular event through the form, so that I can use it in an automated email. I figured out how to pass the page title [current-page:title] and the page URL [current-page:url], but I can't figure out how to pass the term reference field.

Reorder child page in site building guide (SOLVED)

The #drupal irc seems rather unhelpful these days.

I'm working some pages for my module in the "Contributed modules" section of the "Site Building Guide." I'd like to rearrange the child pages to a more logical order. I can't find any way to do it.

I'm starting to suspect that it isn't possible unless you have permission to edit the whole book. Can this really be true? I see several references to other contributed modules that would let you do that, but those apparently aren't enabled for Site Building Guide.

Suggestions, anyone?

How to clear uploaded file after validation fails in custom form

I have this custom form which allows user to upload files. managed_file field is used for this purpose. Now I want to validate the uploaded file content (eg. check virus) after user submit the form. How do I clear the file field that it only display an empty file upload widget in the form after the validation fails?

Entity Reference: need a widget to select existing but also create new

I'm afraid I need to write a custom widget for my Entity Reference field and I don't know where to start.

Basically I would like the functionality of the Inline Entity Form for adding new items but with a customized select widget for selecting existing items.

If I could alter or add to the existing Inline Entity Form module, that would be great. I'm just not sure how to do it.

Or perhaps there is a better solution.

Any suggestions would be very very welcome, thanks.

Problem with installing Restaurant modul

I'm trying to install this
but it doesn't work. That's appearing when I try: "Automatic updating of Drupal core is not supported. See the upgrade guide for information on how to update Drupal core manually". Can somebody help me, please?


Subscribe with RSS Subscribe to RSS - Module Development and Code Questions