Drupal Planet

[Drupal] How to add members with administrator role in Drupal Commerce store?

This article focuses on how to add new members to Drupal commerce store. Usually, when a new user created with admin role tries to access the store, the action will be restricted with an "Access denied" message. For a user to access the commerce store, he should be a member of the store. Let's find out how to resolve this issue.

[Drupal] How to create a payment gateway module for Drupal?

Drupal commerce is a popular e-commerce module for Drupal. It is used to build ecommerce websites and applications and leverages the outstanding features of Drupal 7 for greater flexibility. Here, we will find out how to create a payment gateway module for Drupal commerce. There are mainly two types of payment gateway integration in Drupal Commerce:

[Drupal] How to create a subtheme in Drupal

July 29, 2015 - 19:10

If you are a Drupal developer and not a stranger to themes and its behaviors, let us see how to create a subtheme in Drupal. A sub theme is quite similar to a theme. When we create a sub theme, it has an independent folder structure as any theme. The only difference is that it inherits everything from parent theme. There are no limits in creating subtheme for a subtheme and so on.

[Drush] Frequently used drush commands

July 29, 2015 - 19:07

As part of Drupal development project, we always use drush commands. Drush or Drupal shell refers to a command-line shell and scripting interface for Drupal. Drush enables developers to effectively manage and maintain their Drupal websites from the server command line. A few frequently used commands are listed below.

How to mix public and private folders in a Drupal installation | Creating a private folder in Drupal

By default, Drupal serves all its files publicly via http. This means that any unauthorized user can directly access all the files through a browser by entering its path. This is also true for files which have permissions for them. The solution provided by Drupal, which is to make the entire file system private is resource intensive and can bring down the server. However there is another less costly workaround to this issue. Read on to find out more.

How to delete nodes in bulk programmatically from a drupal site?

What do you do when you want to delete multiple nodes from a drupal site? You go to admin » content and then delete nodes one by one? No. You go to PhpMyadmin and delete the nodes from the node table?. Absolutely not (don't even think about it). There are a few solutions. There is the Views Bulk Operations module. But there is an easy hack to do this or for that matter bulk node operations.