[Drupal] How to Migrate from ubercart to Drupal Commerce

July 08, 2015 - 13:24

When looking for Drupal native e-commerce carts its limited to two packages Ubercart and Commerce. Ubercart is the long leading one and Commerce is the new one, but developed for drupal 7. Commerce is a bit complex when compared with Ubercart but it offers more features like shipping, inventory control etc. And another issue with Ubercart stores who want to upgrade to Drupal 7 is, lot of Ubercart contrib modules weren't being upgraded to 7. So the solution is Commerce.

[Drupal] How to implementing multi-language feature for a website?

July 08, 2015 - 13:20

The way Drupal manages translation have been advancing over several versions. Drupal requires the combination of core & contributed modules to make a site multi-lingual. We will be using Drupal 7's content translation method. One challenge you will be facing is to translate the content into the languages needed. There are lots of tools available for this online like google's translate. Using this method, for example, Arabic node will hold all Arabic values and English node will hold all the English values.

[Drupal] How to send E-mail notification on profile update by user

July 07, 2015 - 17:56

A website will be having two kinds of users mainly, users with administrative privileges and simple users. Most of all a single root user. An administrator one of the main challenge will be in monitoring the site users and its contents. Admin should be notified regarding the new user registration and extra add-ons, etc. For a website with multiple users managing site contents and updates from user roles could become a nightmare.

How to add custom operation in Views Bulk Operation.

July 06, 2015 - 09:25

Views bulk operations module is used for performing multiple operations for multiple rows on a view. Here we can have default action on the view configurations and can also add our custom actions as per the requirements. Views bulk operation module reuses and extends Drupal core Action system. Also most of the Drupal core actions are VBO-compatible actions.

[Drupal] What are Twig templates in Drupal?

July 03, 2015 - 17:55

What is Twig? How will it change Drupal themes? Drupal 8 is coming with lot of improvement in theme layer. Twig is a template engine and easy to learn. Twig is help to create template without knowledge of PHP. Twig is part of the symfony2. It created by SensioLabs. The changes in classes and arrays combined to attribute object. In Drupal 8 .tpl.php file is replaced by *.html.twig template files.

[Drupal] How to use Drupal Queue Classes ?

July 01, 2015 - 10:33

The Queue API in Drupal is designed to manage tasks.The queue system allows placing items in a queue and processing them later.The Queue API is a simple,reliable way to keep track huge lists of tasks without requiring you to know anything about the whole group.Prepare your data, put it in one item at a time, and take back one item at a time to process. When you are done with a single item, just report back that you have finished and the item is removed from the queue.

[Drupal] How to create a custom plugin in Context for a Drupal website?

June 30, 2015 - 17:39

Context is one of the most useful architectural modules for Drupal. Contexts allows a site administrator to manage contextual conditions and reactions. Context feature works by setting conditions such as a path or a node type. If that condition is present then the corresponding reactions, such as adding blocks to regions or setting an active menu, will work as configured.