[Drupal] How to display 'Main menu' with sub links in Drupal 7?

July 20, 2015 - 17:16

We were on a venture to convert all our Drupal 7 themes to their responsive versions and we got stuck in between. The issue was with the main menu that it was not displaying sub links. We have gone through the code carefully and we found that only the top level menu items are being set to the main menu variable. To render all menu items from main menu, we should have defined it in theme's template.php file.

[Drupal] How to use Panel module in Drupal?

July 13, 2015 - 11:13

Panels gives you the ability to create custom pages effortlessly. These custom pages can have multiple regions of content. Suppose, if you want to create a home page with a Slideshow, included in your page layout positioning on the top and two columns below it. Then panels help you to make it easily.

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