Drupal Development

Test cases/checklists to check against while testing Global Redirect Module on a Drupal site

Global Redirect is a functional module which ensures the correct redirection of users to the alias of a given drupal path, thus avoiding duplicated content from multiple URLs. This is very important for SEO because otherwise search engines will see the same content at the Drupal path as well as at its alias causing it to believe that the site is duplicating content at two different URLs

Test cases/checklists to check against while testing Image upload fields on a Drupal site

Just as for File Upload fields, Image Upload fields are equally prone to hack attempts. They also have additional functionality to do post-upload, such as passing the image through various image processing filters / presets. While testing Image Upload Fields, you have to take into consideration all these points. Here are some test cases to help you test image upload fields on a Drupal site:

Test cases / checklists to check against while testing Roles and User Permissions on a Drupal site

When focusuing on Drupal website development, user roles and permissions are an important way of controlling access to the site. This is more so important when there are multiple individuals besides the website owner who administers the site. Other people can be assigned certain 'roles' which define the kind of access that is to be granted. Basically in Drupal, the Site maintainer and Administrator roles are given all the available permissions and Drupal Administrator role receives all permissions throughout the lifespan of the site. This is not the case for other 'roles', where access within admin permissions and time limits only are granted to users linked to those roles.

Test cases/checklists to check against while testing links on a Drupal site

You might ponder as to why test a link, or even include it as a test case when there are several other major functionalities to be tested in a Drupal website. Every site, be it Drupal or non-Drupal, contains numerous links, some of which lead to external sites and some that whirl within the site. The 'web' works extensively through links, and it is through links that sites are navigated to and get found. Links are also the underlying indicators for security of a site. So links should be paid attention to and be tested thoroughly. Here are some test cases to help you get started:

[Drupal Development ] How to create Drupal Triggers and Actions - Part I

Triggers and Events are very important concept in the Drupal world. If you want to get your hands dirty tweaking Drupal or dive into Drupal development or simply configure a Drupal website properly you need to be familiar with the Drupal Actions and Triggers. If you want to know more about Drupal Triggers and Actions then read on to find out.

[IE7 - Known Issues][CSS] 'border-collapse' does not override cell spacing related tags

Many a times, IE7 stands out from the group of modern web-browsers owing to its notorious incompatibility with many a standard HTML/CSS/JS. In this article, we are seeing the following case of incompatibility: In IE7, the CSS 'border-collapse' does not override cell spacing related tags.

[Drupal 6] How to get the IP address and Country code using the API key of a third party service?

January 04, 2013 - 15:39

If you need to deliver a custom tailored home page to a user visiting your Drupal website based on their actual physical location you need to need to match their ip addresses with their actual physical location. There are many third party services that provide this functionality and you need to use the API key provided by them in your Drupal application. If you need to know how to get IP address and Country code from an API key to be used in your Drupal application then read on to know more.

[Drupal] How to create a local installation of a Drupal multisite project connected through symlinks?

As a Drupal developer you might have come across a Drupal multisite installation in which the different sites were connected through symlinks. As a developer you often need to create a local installation of a live Drupal project to make the required changes before pushing it to the live version of a site. If you are facing the same situation in your Drupal site and would like to know how to create a local installation of a Drupal multisite project connected through symlinks then continue reading to know more.

[Drupal] How to create a Facebook App for posting published content from a Drupal site on Facebook Wall?

We were requested by a client to create and integrate a Facebook Application on their Drupal site which would post the published content automatically on Facebook. For publishing a content from our Drupal site to Facebook Wall, we need to create a Facebook App. If you want to know how to create a Facebook App for posting published content on a Drupal site on Facebook Wall, then continue reading.

[SOLVED][Drupal] Quicktab cookie is not persisting after closing and re-opening browser.

On one of the Drupal projects we had recently worked on, the client wanted us track the last active tab. We had used the Drupal Quicktab module to create the tabs. However we noticed that the quicktab cookie used to track the last active tab is not persisting after closing and reopening the browser. If you are facing the same scenario in your Drupal site and want to know the solution then continue reading.

[Drupal] How to display items in table listings with checkboxes on each row, on a Drupal 7 site?

This is a description of how you can display table listings with checkboxes on each row on a Drupal site. The requirement in one of my projects was that "Admin can select multiple checkboxes against the details of a user, and can run an update query when update button is clicked."
To implement this, I made use of Drupal 7's table_select() function which saved my time and made my code less complicated. Now, if you want to know how you can make use of this functionality in one of your projects, you may read on.

[Drupal] Drupal Tips: How to customize Ubercart for recurring payments?

Recently, we have come across with a Drupal website requirement which needs Ubercart customization for recurring payments. The site features monthly and annual subscriptions for membership. Users will be assigned a special role - 'member' on subscribing to any of the monthly or annual plans. Let us see how to configure Ubercart to achieve this.

Image popup / popout effect when hovering over an image - How to implement using jQuery adipoli plugin on Drupal/non-Drupal sites

Enabling the jQuery effects on a page is now no more a mess. Using a plugin called Adipoli, it is as simple as this to show different effects for our content:

  1. Add the necessary js files and css files.
  2. Select the element on which the effect is to be applied.
  3. Invoke the tooltip plugin.


So here is the code:

Pages