I have been working on Drupal for more than 6 years now, started my career with it, and ultimately fell in love with the piece of software which is serving millions of websites over web. Have been using and contributing to the community of the Drupal since I started, and must say, this is one of the best opensource community I have been a part of.
Last week attended Delhi drupal camp along with Sushant ( @sushantpaste ) and Tanmay ( @itanmay01 ). Was an 2 day event (Nov 9 - 10) with some good drupal sessions (around 26) followed by code sprint. The venue was JNU, Delhi. (Jawaharlal Nehru University), which was surely the best choice for such a huge event.
Around 400 attendeed came across from different parts of India.
There are many modules for allowing user to register and login by email address. One of those is Email registration.
But what when you want to allow or restrict the email registration by specific domain ?
A easy workaround without depending on any contributed module is by using " Access Rules "
Add the following e-mail rules:
Few days back I spent some of my weekends learning Andriod application developement. Wanted to develope a small application which will talk with my Drupal Website, authenticate the user and pull data of the nodes. After going throught some of the posts from Titanium Group and some R&D on web, I started with the developement.
While writing an selinium test I came across an problem while adding text to the ckEditor instance thorugh the test. And after a long search and research I got the below solution.
Command works is runscript() :
Usage : runscript(script);
Recently I was working on a project which needs to integrate Drupal + Salesforce + Ubercart + Webform. Thanks to our drupal community contributed modules due to which I was able to do the integration successfully.
But to have it done there are prerequisite which needs to be done which are required for the integration, so I thought of noting them here:
While using drupal views module and creating a view of nodes, if you need to display the total number of the rows returned by views in footer, also do some totals of a particular field returned by views, you can do so by below code.
There are also modules which allow us to do the same , but in case where our requirement is minimal and we do not want to install another module this way is good I think !!!! Code : For example your filed name is paymant_total and you want to show the number of rows (payments ) and the total of amount. then the code would be :
When you install the Drupal Webform Module, after submitting the form, users are sent mail with the data they have filled through the form. What if you want to send customized email to the submitter ? Below is a simple solution.
When u add a email field, do not check the " E-mail a submission copy " checkbox.
Instead in the webform form settings i'e " Webform advanced settings -> Additional Processing: " add the below code.