Drupal Dump

Drupal Snippets, Hacks and more....

495 posts since 2011

Setting a form value with jQuery

If you want to select form value, for example hidden field for subject in mail form you can set the form values with jQuery using the val() function.

If the form element is <input id="subject" name="subject" type="hidden" value="someweb.com" /> you set it with  $('#subject').val(itemId);

so put it in function

Mailhandler

Today i stumpled upon mailhandler module, cant wait to try it out. Creating content from email client could boost content production in many sites, mainly aiming for classifieds sites and community sites.

http://drupal.org/project/mailhandler

Taxonomy image duplicate nodes in views

Recently i had a problem with taxonomy image and nodes. When using it with views you get every node listed twice, even when using dinstinct filter.