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.

Drupal render form not rendering a form

0 down vote favorite

I have a cutom module which creates a page with a custom form. the problem is that i don't print whole form at once like :

$form = drupal_get_form('custom_example_form', $adverts);
print render($form);

Rather my code is like:

Create a checkbox field in content type

Hi,

I am trying to create a field programmatically in content type.

This is the code :

Trying to create module from 3 PHP functions

I am trying to create a D7 module from this PHP code.

https://github.com/telephone/LookingGlass

There are only 3 PHP functions in that project I need. Ping, procExecute, validate. If I get that working I could easily add the other functions.

This is not related to the Nagios LookingGlass module in any way btw.

Stying AJAX enabled views

Hi

I'm trying to add/remove a CSS class to my AJAX enabled Views on AJAX requests.

I have created a new module which adds my JS to the page on the template_preprocess_views_view hook and I have the following JS:

Developing a Purchase Order system

Hello. I am using Ctools/Pages and trying to create a Purchase Order System... I created a content type I will call PO and another one I will call POLI (PO Line Items)... How do I best bring the line items into the PO? I know I need a field that attaches POLI to PO... I tried using Entity Reference and KNOW for sure that is not the right way... Im not sure whether to use Relations or Context... any ideas?

Pages

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