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.

Google Analytics and Booking Content type

I have content type booking and created booking page in drupal 7 and same page is displaying error, confirmation and booking page. I am trying to split into three different pages(nodes) using same booking content type. I am using custom module for booking.

After booking, I would like to redirect to xyz.com/booking-confirm if it's successfully booking and if it's error xyz.com/booking-error and currently, using xyz.com/booking for all actions.

Should I use header to redirect it?

show my field column in the field part of views_ui

hi,

i have un custom column ('my_special_col') in the schema of my custom field plugin (FieldItemBase),

in views_UI, i can select it in the sort and filter part ,

but it doesnt appear in the fields list selector to show in the view ("my_special_col:delta" appears however).

How to show it in the fields list ?

Thx

Send logged in users to another search form from Search Block

I have two search forms.

A public Google CSE and a form only available to users currently logged in.

When a user is logged in and uses the Search Block, I want him to be sent to the internal search instead of the public default search.

Drupal - Encrypt form(input,passwords) values before form submit in custom module

I would like to modify (encrypt) the form input values in custom module in Drupal, before it sends it decrypted to server. I tried encryption in form submit function and it is working fine, but still some tools finding the plain text data(password) while sending to server.

Can we do it custom_my_form function only? Is there a way to solve it?

Drupal Search Services Not Working

I'm using this post to add search functionality to my DrupalGap app: http://docs.drupalgap.org/7/Services/Search_Services 

However, I cannot find search_node or search_user under admin/structure/services/list/drupalgap/resources to check the retrieve box and whenever I try running a search after inserting the search block in the home page, I get the following error: "Failed to load resource: the server responded with a status of 404 (Not found : Could not find resource search_node.)"

Pages

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