Drupal 7

[Drupal] How to programmatically uncheck 'Generate automatic url alias' option for a specific node editing form in Drupal 7?

December 30, 2016 - 15:31

In one of my work, I want to programmatically uncheck the checkbox option of 'Generate automatic url alias' for a specific node editing form. For this, I have created the following form alter for the content type. I have added a custom after build function for the necessary content type in the form alter.

[Drupal] How to create custom colorbox style in Drupal 7

November 29, 2016 - 11:55

You can create your custom colorbox styles instead of using plugin provided styles. For creating custom colorbox style go to /sites/all/modules/contrib/colorbox/styles
copy any one of the folders. (You can find plain, default and stockholmsyndrom styles there).Place the copied folder into your theme folder. Rename the folder with your custom name. Also rename the css and js files.

[Drupal] How to use the export & import operations in webform insightly module Drupal 7

November 22, 2016 - 09:23

The Webform Insightly module is used for integration of insightly CRM with webforms. This creates a new contact for each webform entry of our site. It adds opportunities for every subsequent entry of the contact. In this module all configurations can be done from admin side and any number of webforms can be added in the configuration. Here there is another option to import the webform insightly configuration in json encode format and similarly export the saved webform insightly configurations.

[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.