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.

Remove prefix language if only one language is defined (domaine access)


I use the "domain access" and the "domain locale" module for a multisite installation.
I have several subsites with differents languages, and several subsites with only a defined language.
With these modules I must activate several languages, and define the prefixs (en, fr, it...).

I want to remove/hide the prefix language (in the urls) for the sites that have only one defined language.

drupal_goto() & Pathaliases !


I have a drupal 7 website already built & i need to give aliases to "User/uid"(user) & "Node/nid"(node) pages.

I used pathauto module & generated bulk aliases for user and node pages, Till here everything works fine.

drupal_goto & URL Patterns:
I have written more than 15 custom modules on site, & have used drupal_goto() at many places for redirecting users back to user & node pages using this format...

How to expose fields for filtering

I have created a simple module trying to list out some fields from the database. However, I couldn't figure out how to expose a field for filtering, e.g title, just like how we easily do it via Views module. Any idea? Here is part of the code:

How to add exposed filter in views which have data from external db table

Drupal - 7
Views: 7.x-3.10
Data module: 7.x-1.0-alpha7

How Can I Rewrite a Views Page Title and Have Rendered Output Cached?

I'm trying to modify the page title of a page which is generated by the views module. I can't seem to get views to cache the rendered output with the altered page title.


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