Get a free quote now

Drupal Development

Taxonomy Image: 

[Drupal] How to fix the incorrect pager display in drupal 7?

July 02, 2013 - 23:28

In a recent project, I had to make use of pagers in two views. As per the requirement, I had to display different numbers of contents per page for both views. For the first view, I had to display 2 items per page and for the second one(search-results view) 10 per page.The problem I faced was, Eventhough if I had less than 10 search results, the page displayed the pager-links as per the contents of the first view. ie, both the views showed same number of pagers, which was wrong. If you want to know, how I fixed this, please read on.

Should you use Wordpress or Drupal for your company Website?

When you set out to build a website for your company there are a lot of aspects that you should be considering while deciding on the technology decisions. Based on these different aspects and based on how you prioritize between them the technology decisions that you take would vary. Going for a Content Management System is a no brainer if you wish to manage the content on your site. Both Drupal and Wordpress are good choices for building your new company website. However there are differences between them and this is an attempt to help you make a decision on this.

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

In a Drupal site, 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 site. 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.

Pages