Drupal Answers Weekly Newsletter
Drupal Answers Weekly Newsletter

Top new questions this week:

Drupal 6 Search module double ID's

I'm currently busy with a website for a costumer. This website has to be W3C validated. There was a problem on the search page of the site with a double ID: <div class="form-item" …

modules search  
asked by Jeroen Bijl 9 votes
answered by Clive 7 votes

How do I release a Drupal Distribution

I have been developing a site and I feel that it would work really well as a Drupal distribution. I have no idea about how to create one, but I am familiar with drush make, install profiles etc. What …

distributions  
asked by Andrew Welch 4 votes
answered by Nikhil M 3 votes

Garbage values in From: in the email sent from Webform

I find some garbage values in the from field of email sent from contact us page in webmail(as in the image From= field below in the top left in which "F" is cut-off by mistake). I've configured …

7 email  
asked by AgA 3 votes

How to secure ajax on automatically save field data

My custom module make ajax request on _node_edit form after input changed by user, and menu callback save this field's data (only this field, not all node object). Menu item is as …

7 menu ajax access-callbacks  
asked by svetlio 3 votes
answered by rteijeiro 1 vote

what is deference between path and theme path in theme registry?

I'm trying to alter theme registry: function comment_simplify_theme_registry_alter(&$theme_registry) { $module_path = drupal_get_path('module', 'comment_simplify') . '/tpl'; …

7 theme-templates  
asked by Mohammad Ali Akbari 3 votes
answered by Clive 3 votes

Does using Drupal.ajax() offer any benefits over jQuery.ajax()?

I'm updating a node's references (list of them - rendered entities) manually with AJAX and experiencing performance problems. $.ajax() is used to call a view rendered with the simplest page.tpl.php …

7 ajax  
asked by magtak 2 votes
answered by Clive 1 vote

Storing a date created with Form API

Very simply, I'm creating a date of birth field pragmatically like so: $form['dob'] = array( '#type' => 'date', '#required' => TRUE, '#title' => t('Date of Birth'), …

7 form-api date  
asked by slawrence10 2 votes
answered by Gisle Hannemyr 2 votes

Greatest hits from previous weeks:

How to send HTML email

I am creating a simple module which will be sending HTML emails to users for deals in our website. I have searched a lot, but I can't find a solution proper solution for Drupal. Now I can send mails …

7 email  
asked by mrcniceguy 9 votes
answered by Dooshta 8 votes

Count of nodes by type

I am looking for a snippet that lets me display the total count for a specific node type, e.g. "Pages = 167" or "Products = 10630." What code should I use to achieve this?

7 nodes  
asked by Diane 10 votes
answered by Krister Andersson 15 votes

Can you answer these?

How to enable ckeditor in the emails templates at admin/config/people/accounts?

Just that. I need to enable ckeditor to write the text body for the welcome e-mail message at admin/config/people/accounts How can I do this?

email ckeditor  
asked by chefnelone 1 vote

Find the total dollar amount spent by shopper in Ubercart, using Views?

I'd like to run a report that will show info about each shopper, as well as the total dollar amount they have spent on my site. I know that the "Customer Orders" page (for instance, …

7 views 6 ubercart reporting  
asked by hockey2112 1 vote

Drupal ajax calls do endless redirect

After moving my drupal installation to another domain (and server) ajax calls end up beeing redirected from the login-page to the target and back until the timeout is reached. Why the target …

taxonomy ajax user-login  
asked by Johannes Mittendorfer 2 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3