Articles

Our developers love sharing their knowledge usually acquired from issues they had to face and solve. We share this knowledge, hoping to help anyone who faces the same or similar issues.

by Jitesh Doshi || I was testing a new module I am writing. It is designed to receive IPN (instant payment notification) postbacks from Paypal. And when the code receives an IPN postback, it in turn calls Paypal again and asks Paypal to verify that the given IPN is real and not fake. Paypal...
read more
by Jitesh Doshi || I wrote a module that generates PDF and attaches it to an email using hook_mail_alter(). It took me a while to figure out that I cannot add the attachment simply as a string in memory. I had to write it to a temp file first. And then my hook_mail_alter() implementation...
read more
by Jitesh Doshi || You probably already know how to do URL rewriting using Apache. Here's how you can rewrite paths within Drupal. Added a function named "custom_url_rewrite_inbound" to your settings.php file. function custom_url_rewrite_inbound(&$result, $path, $path_language) { // convert u/xyz to user/xyz/edit // $result = preg_replace('/^u\/(.*)/', 'user/${1}/edit', $path); // convert u/xyz to user/xyz/view $result...
read more
by Pramod Jain || I had a need to add simple payment processing to a Drupal website; I did not want to use Ubercart or any other eCommerce modules, or CiviCRM. Here were my basic requirements: Users register for a course using a web form page After registration user is taken to a payment...
read more
by Jitesh Doshi || We have often been asked for examples of high traffic sites that run Drupal. This is an attempt to create a running list of commercial websites. Al Jazeera. As one would expect, the democracy movement in the middle-east caused a huge spike in volume. Drupal on Acquia cloud was able...
read more
by Jitesh Doshi || Drupal 6 is very good. But Drupal 7 is even better. Much cleaner user interface (UI), and much cleaner application programming interface (API) as well. Today, I'm going to talk about Colobox integration in Drupal 7. With Colorbox in D7, you can show your attached images in a very user-friendly...
read more