About Me

Born in United Arab Emirates & raised in Pakistan. Have accumulated 12 years of experience in Opensource Software Research & Development.

Specialized in Enterprise Portal and Collaboration Suites' Development. Currently working as a Consultant (Drupal) at OSCE/ODIHR and Lead Developer at StudentRoads.com >>>

Understanding advance page template preprocessing

The main role of the page preprocessor is to set up custom variables to be rendered through the template (.tpl.php) files. Mostly the page preprocessing is used to handle theme template suggestions. This means that based on some custom logic we can suggest any page--*.tpl.php file instead of generic page.tpl.php but this is not the limit, most advance developers use these preprocessors to do heavy calculation of their logic and then pass the results to the page.tpl.php in form of some custom variable, this avenue has endless possiblities.

How to get In-Field Labels in Drupal 7

Compact forms are always good to have and in-field labels is one of the feature that makes the form more compact and sleak. Conventionally the labels are set as "above" or "in-line" with the fields where as in-field labels are set with in the Label's respective fields. Technically form item or element fields are overlaid with their repective labels.

Revamping the Electoral System of Pakistan... Urgently Needed

After analyzing several political talk-shows about electoral system and the ground realities of the ruling parties and opposition parties that how they got elected, I found a big room for improvement and  came up with a suggestion for Election Commission and Supreme Court of Pakistan to think about improving and changing this process once and for all. This is a need of time, we want to revamp this system on emergency basis, most probably for next general election. We as a Pakistani nation cannot afford another election where fate of 180 Million Pakistanis are written by few Thugs and Illiterates who do not even represent 20% of Pakistani population.

Migration Solution to Taxonomy Vocabulary Relate Module in Drupal 7

Taxonomy Vocabulary Relate was very helpful module in Drupal 6.x which allows us to select related terms in taxonomy from other vocaulary. Default taxonomy module in Drupal 6.x only allow us to select related terms from the same vocabulary. This post is going to help lots of developers who are planning to migrate their Drupal 6 website to Drupal 7 or who have migrated their projects and are awaiting solution to this issue.

Setting up "bare" "shared" GIT repository

This is all about setting up GIT repository to behave in such a way that all developers can push their changes and can pull others changes from central shared repository, ultimately they are going to clone the repository into their local location and each user's "working copy" will itself be a fully-fledged Git repository but to make the code changes centralized they have to push and pull to the central repository that can be on a remote server. e.g. http://source.example.com , we will call this server as source.