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.

Views Error 500, enabling

I installed views/chaos tools etc. I go to enable a defautl view and I get an error message.

I'm on Drupal 7 and I attached a screen shot that shows

  • the view I enabling
  • the error message
  • and all of the running modules for views

this is a drupal 7 install, running the nexus theme
Only local images are allowed.

Module done, now I want a nightly report emailed out

Hi everyone. I'm new to developing in Drupal and I was excited to complete my first module recently, including setting up database tables during installation, a nice UI for an agent to look-up information, etc. All *very* basic stuff for anyone who has done it, but a big lesson for me. It was a lot of fun.

OK. Now I'd like to have a periodic report go out based on entries in the database. If there are new entries, I'd like to pull together the tables and fields I want, export it to an XML or CSV file, and then email it.

Here are my questions:

preprocess_node How To Change The $tid to $term_name

I've tried to change this code to show the term name instead of the term ID
but now no term name or term id shows at all

Orginal code for term ID

Label text in select field instead of default "- Any -"?

The code in template.php:

function THEMENAME_form_views_exposed_form_alter(&$form, &$form_state) {
  if ($form['#id'] == 'views-exposed-form-FORMID') {
$form['ITEMNAME']['#options']['All'] = t('My custom translatable text');

does work nice, but I want to have ITEMNAME select field label to appear instead of t('My custom translatable text'). Tried

PHP Cron Notices being written to my Simplenews newsletters

I am having cron notices written to my Simplenews emails when they send with cron, not on test send. How can I remove these errors?

Please find an image on my Simplenews module issue - not sure if its a module issue though

Thank you!


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