Drupal Planet

Exploring Symfony2 in Drupal 8

With Drupal 8 just around the corner, every Drupal developer is in a nirvana of excitement and eagerness. Drupal keeps getting better and better every day and Drupal 8 will make website development and management a five-finger exercise, because this latest version of Drupal has included some amazing and potent Symfony components to serve the big businesses better.

[Drupal] How to set destination as the link value in the l(), in case of urls with parameters

October 20, 2015 - 19:15

We can use the l() to add links in our Drupal pages. However, while using the output of drupal_get_destination() in the l() as link, it may end up in the wrong functionality. If the drupal_get_destination() returns a url with parameters involved, then using that directly in the l() will cause the link to redirect to wrong page.

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