Red Crackle Blog

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 popular vector-based graphics that can be used in projects by applying CSS styles. They are scalable, small in size and browser-friendly. Icon fonts differ from conventional fonts because they don't feature numbers or letters. Instead, they feature glyphs and symbols.

IcoMoon allows you to build custom icon fonts that can be used in projects of your choice. In this article, we will import SVG icons and convert them into icon fonts.

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:

Drupal Performance Optimization Checklist

You must have read plenty of articles on how to tweak your Drupal site to improve its page load times. This post assembles an exhaustive list of all the configuration changes you can do that help in Drupal performance tuning.

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.

Why you should be writing integration tests for Drupal

In our previous blog post, we made a pretty big claim that Drupal 7 unit testing is broken. You probably knew that already but you know the importance of testing a big Drupal project as well. So like us, you started using Behat and Selenium for functional and user acceptance testing. It worked well for a while but now there are so many test scenarios that you are finding it difficult to maintain all of them. To make it worse, your test suite takes hours and hours to complete.

Working with the Drupal Calendar Module

In this article, we will create a basic view to display a Drupal calendar with events.

By the end of this article, you will be able to configure a basic Drupal event calendar for your website that looks like this:

Drupal Event Calendar

In order to get started, I want you to download and unzip the following modules to your Modules folder:

1.Drupal Calendar Module (drupal.org/project/calendar)

 
Ready to get started?REQUEST A QUOTE