Drupal 7

[Solved] Drupal 7 Feeds Excel module Upgrade from 7.x-1.0-beta1 to version 7.0-2.x

In Drupal 7 we can upgrade a module in many ways but we fail on upgrade feeds excel module. The reason being the newer version of the module is entirely different from the old version folder structure and file naming. We can overcome this situation by uninstalling the older version and installing the new version. Sometimes we cannot uninstall the module due to the module dependency and data lock. We can achieve this manually using the following steps.

[Drupal] How to use Clientside validation in Drupal?

April 11, 2016 - 10:40

As part of form creation process in one of our recent project we came across one module called 'Client side Validation'. As the name implies the module supports basic as well as most advanced sort of validation methods. Validating the form user inputs is the one task we could not ignore on developing forms for a web project. Let's find out how the 'Client side Validation' will make life easy.

[Drupal] How to implement popups using ctools modal forms in your Drupal 7 site

April 04, 2016 - 18:48

One such feature used widely throughout the site is the use of popups for alerting users. Popups are nothing new to web development. In fact Drupal provides multiple tools to create popups including the more widely used Colorbox plugin. For this project we chose to go with Ctools modal popup as it provided more options than Colorbox. Read on to know how to implement popups using Ctools.

[Drupal] How to create custom offsite payment gateway module in Drupal 7

A Payment gateway tends to offer multiple types of payment services, that provides onsite and offsite options. Onsite payment is processed by a third party API using web services with the information gathered from our site through a checkout form (For example : Credit card/Debit card credentials). Offsite payment method, on the other hand, processes data entered in the payment gateway page. It redirects the users to the processing page of the payment gateway using the checkout form. After the payment is completed, the user will be redirected to the payment page, from where the user can move forward or backward in the checkout process. Here, let's take a look at the creation of custom offsite payment gateway module.

Why is Drupal the best choice for Responsive/Adaptive Web Design?

Responsive sites and adaptive sites are the same in the sense that they both change appearance based on the browser environment they are being viewed on. One of the major challenges in creating a web design is how to create one that has lasting value, at least for a planned period of time. It is more likely that a first time visitor/customer may not be familiar with your products or services. There are other possibilities that your visitor is in a real hurry, or they’re on an iPad, at a coffee shop. Or maybe they’re on some device for which a website hasn’t been planned yet.

Upgrade to Drupal 8 the easy way: Ease of migration from lower versions to Drupal 8

The term ‘Migrate’ in the context of Drupal means re-creating the content and configuration of a source site (usually Drupal 6 or Drupal 7) in a new Drupal 8 installation. In earlier versions of Drupal, the common practice was to provide an upgrade path. i.e., update the code to the latest version and then upgrade the database structure according to the code. Once it is done, the content is updated separately.

[Drupal] How to get all image styles in Drupal?

December 21, 2015 - 18:45

In one of my recent project I had a task to create a content type with a select list field of all image styles. But how can we get all image styles in Drupal? In Drupal there is an option to create different image styles using a module 'image'. Image module allows users to upload images into Drupal with proper permissions along with this its thumbnails and additional sizes are created automatically. Image module also gives an image_styles() function that can be used to get all image styles and their settings.

[Drupal] How to integrate Single Page Site module in Drupal site

October 07, 2015 - 17:36

This article covers to the How to integrate Single Page Site module in a Drupal website. Single page site is of one of the newest trends in web designing. It allows you to automatically create a single page from a menu. The single page module will render all contents from the configured menus and links.It will then override the menu links so that they refer to an anchor instead of a new page.

[Drupal] How to join multiple database tables using db_select?

October 01, 2015 - 13:58

Before we discuss on how to to join multiple database tables using db_select in Drupal 7, let me tell you that we can add as many joins as we want and most methods such as, 'fields', 'conditions', joins etc. can be called multiple times. However, one thing may be worth mentioning is that the call to join() needs to be separate. It should not be "chained", meaning that one should use this,