Follow our blog to learn more about the exciting world of Drupal!

Drupal Commerce Tutorial - Create your first e-commerce store

Drupal Commerce is a distribution capable of building e-commerce sites. In this series of tutorials, you will learn how to create a Drupal Commerce site from scratch. You will know how individual modules in Drupal Commerce suite fit together to build an e-commerce store, whether you are selling products, services or subscriptions. Following topics are covered:

Using IcoMoon To Convert SVG Icons Into Icon Fonts

Icon Fonts are hugely popular and sought after by designers. In this article we show you how to use IcoMoon to covert SVG Icons into Icon Fonts. 

We have provided useful screenshots to highlight the process. Follow this article to create Icon Fonts that are scalable and browser-friendly. Icon Fonts will be a great addition to your design projects.

What is headless Drupal?

Recently you must have heard of the term "headless Drupal". You may be wondering what exactly it is. How is it different than standard Drupal and how can you implement it? If these are the questions that are plaguing you, then this is the post for you.

Conceptually headless Drupal is pretty simple. It involves two changes from standard Drupal:

  1. Instead of spitting out HTML, Drupal spits out data in JSON format.
  2. A front-end UI framework, such as AngularJS, EmberJS or React, renders the data to create a webpage.

Why do you need headless Drupal?

Testing blocks using Red Test

Have you ever worked on a large project where out of the blue, one day, the client says that editors are not seeing a block of new blog posts in right sidebar on so and so page? It's generally pretty easy to fix this problem. Just go to the configuration form of that block and see what the conditions are for displaying the block. Or it could be a block written by you in a custom module and then you'll need to check hook_block_view() in your module to see where the problem lies. But you are still unhappy because the bug was caught on production.

15 minutes to your first Drupal integration test

This post will help you write and run your first Drupal integration test using Red Test framework in less than 15 minutes. By end of this post, you will be able to write an automated test to make sure that superuser is able to create two pieces of content, one published and the other unpublished. We'll test that anonymous user is able to view the published content and is not able to view the unpublished content. You can follow along these steps on any Unix or Mac machine and have automated tests running in a matter of minutes.

How to Install Red Test

In previous article, we explained why integration tests will greatly benefit your Drupal automated testing efforts and also announced that we are making Red Test, an integration testing framework for Drupal, open-source. In this article, you'll learn how to install Red Test to get started with your integration tests for Drupal. Here are the steps:

1) Go to your Drupal root and clone the github repository.