Helpful Drupal Modules

Its that time again; for nwe post with findings of the week of course. So, I was searching for some modules that could help me with my development and came across few. I believe, if used properly, these can be very helpful modules.

Of course, some of you might not agree so please feel free to share your ideas. I am always eager to learn more and will keep learning through out my career; at least that is what I am supposed to say to portrait me as a humble person.

Well, let’s dive into some of the modules that I think would’ve greatly helped me had I known about these before. So, I decided to post these here in case it helps someone else. 

Disclaimer: I just found out about these modules and wanted to share these before I forgot. So, I haven’t actually used these but thinkthat these will be helpful.

Features: I came across a a podcast which helped me understand how this can be very useful. That podcast not only went through steps on how to use this module but also mentioned other 2 modules that, after reading about those, I found useful (and are listed below). I’d also like to share that podcast as a thank for taking time and help us Drupal developers;

Context: Now this is something that I have used a lot; programatically. It would’ve saved a lot of time had I known about this before. But, as they say, better late than never.

Demo: Ever thought that you’d like to revert your site database back to previous state after doing a bit of testing? I have; so imagine my surprise that there is a module for that and I don’t have to do this manually.

Security Review: How often have you thought to see if you can check whether your site is secure or not? I ofte have. So, this module can walk through several known scenarios and generate a report whether there are any security issues with your current installation or not. A nice find that I got from

Email Registration: Recently, I had to use e-mail address as username. I was thinking of ways I had to get this done; change registration and login form, implement hooks to use e-mail as username and more. But, I found this Email Registration form that does that for you. Following article helped me compare it with Logintoboggan module and made it easier to understand the differences; Using Email as Username. This is the only module that I have already used and it works well.

Well, those are new modules that I learned last week. Hope it can help someone. If not then I’ll continue to look for ideas that can help others because that’s what PHP and Drupal are; Open Source and share with & help others.

WAMP – PHP5.3.13 and Apache 2.2 – CURL Issue

I recently installed WAMP on Windows 2008 server; PHP 5.3.13 and Apache 2.2. While trying to use Facebook API, I came across issue with CURL extension of PHP as Facebook API needs this extension. I enabled this extension in PHP but Apache kept throwing an error that it couldn’t load dynamic library:

PHP Startup: unable to load dynamic library ‘c:/wamp/bin/php/php5.4.3/ext/php_curl.dll’-the application has failed to start because its side-bysiede configuration is incorrect

I found many references of it all over and the solution was to replace wamp/bin/php/phpVERSION/ext/php_curl.dll with correct version. For some reason, php_curl.dll that comes with WAMP doesn’t work properly.

I tried many files but in the end one worked for me. Unfortunately, its trial and error and trying different php_curl.dll files and see if those work. The one that worked for me can be downloaded from (Try at your own risk).

Just wished to share this with everyone in case it helps even a single person.

PHP File Management Script

This class is a manager of server side files and directories.

It can perform several operations on files and directories on the server side like creating and removing directories, creating, updating and deleting files from directories, retrieving the list of files in a diretory recursively, generating a files listing in a HTML page, etc..

The class can also create htaccess and htpasswd files to restrict the Web access to a given directory to a given user with a password.

Code at


Code at

PHP My SVN Manager

I have often used SVN as Source Code versioning. Its quite a manual process to create new users, groups or repositories. Not time consuming but very manul task. This prompted me to create a PHP application which I could use to do this easily without having to logon to SVN server. This proved to be quite useful as we work on projects as team. So, now every developer can do this on their without having to send this request to me. See, real easy. Any ways, you can grab this code from following links.

Code at

Code at


RSCMS – Really Simple CMS

While working on a small site with no database, I was thinking how to make it easier to create small scale, say 3-5 pages, web sites without having to set up everything everytime. To stop having to do this setup again and again, I developed RSCMS which works on a pre-defined structure and generates final HTML pages as needed. All I needed to do was drop a page in templates folder and just update other pages (as needed) to add a link to that page so its accessible.

After creating this, I thought I’d share this class with everyone to give back to this huge PHP Open Source community that has helped me grow this much. You can get code for this class from following links:

Code at

Code at


Learning Photoshop

So, finally found a tutorial which is easy to follow for learning Photoshop. I have been trying for some time to larn it but kept getting confusing after a while. This new site has around 32 You Tube tutorials of up to 4 hours of learning. It claims to get you completely up to speed at the end. I have been through 2 tutorials and so far so good. Lets see how it goes after. Hope it doesn’t get boring.

For anyone interested, tutorials are at Photoshop Crash Course.

GO Transit Signal Breakdown

GO Transit, Toronto has a cmplete signal system breakdown today. They are not sure what happened as is the first time such a thing happened.   They are not sure how t fx it  

But for now, they are using older signal system that they used before computerized system was in place. At least they are moving now. Sitting in train for a long time and not moving is not fun; especially when you are not tired enough to sleep.

Welcome to

I have redesigned as my way of returning back to community by sharing the knowledge that I acquired from my endless nights searching the net. I will do my best to share all the issues that I came across and solutions to those as well as solutions to any future issues.

Aside from tech related solutions, I will also be using my site to share my experiences for any tech or non-tech related issues along with resources that I came across and found valuable; along with my thanks to their writers for taking to share their knowledge with us.

Please use the contact form to contact me for any questions/concenrs or even to just send encouraging words.


Jaswinder Rattanpal