Drupal 7

Taxonomy Image: 

How to Add Default Admin Theme to Certain Pages Irrespective of the User?

November 21, 2017 - 18:22

I came across a situation in my recent project, where user roles other than admin have to access the admin pages. The default admin theme was not provided for the admin pages in which the user role is not admin.

Drupal has a module which allows us to add the admin theme to specific pages irrespective of the user role. Below are the steps which I followed to achieve this.

[SOLVED][Drupal Commerce] Is there a functionality similar to UberCart test_gateway for Drupal Commerce?

Many Drupal users wanted to know if there was a functionality similar to UberCart test_gateway for Drupal Commerce for emulating the collection of credit cards. If you are faced with the same question while running Drupal Commerce on your Drupal site then read on to know the possible solutions.

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