by Rahul Singla | May 12, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
While working on my next open-source module, Document for Drupal, I had a peculiar situation trying to create sub-directories under Drupal’s files directory (usually located at /sites/default/files).The module allows users to upload files to Drupal, and the...
by Rahul Singla | Apr 1, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
After recommendation by my brother to try MediaTemple as a Hosting Provider, I moved one of my client websites (based on WordPress) to MediaTemple last month.My initial view of the service was reasonably satisfied, except for I would have liked a more functional...
by Rahul Singla | Mar 14, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
While working on the next release of my open-source Drupal module Reference Links, I needed to delete all votes for links attached to a node when the node itself was being deleted. Here, remember the votes were stored for the links attached to the nodes (and not the...
by Rahul Singla | Feb 20, 2010 | Blog, Drupal, Drupal 6.x, ExtJs, Javascript, PHP 5.x
The installation of my Take Control module for Drupal requires a bit more effort compared to a regular Drupal module.The following video tutorial demonstrates each step required for installation. I have used CPanel’s File Manager for the purpose but the process...
by Rahul Singla | Feb 16, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
All Drupal module developers would probably be aware of Drupal Form API’s form_set_value() method, which allows you to “change submitted form values during the form processing cycle.”You can use this method in the form validate handler to process a...
by Rahul Singla | Feb 15, 2010 | Blog, Drupal, Drupal 6.x, PHP 5.x
While working on a major enhancement to my open-source Take Control module for Drupal (to be released soon), I needed to generate public/private keys for making secure asynchronous Ajax calls.A quick Google search revealed that PHP’s Open SSL package should do...
Recent Comments