Drupal 8 site is now live

Submitted by sharique on Fri, 02/15/2019 - 12:26

I've recently migrated my site from Drupal 7 to Drupal 8. This was long overdue. I've used core migration module to migrate content, the delay is due to make a new theme, I could not decide what to do with the theme. After spending much time on finding a new theme, I finally decided to create a similar theme as previous with some changes. The new theme based on the Foundation framework, while D7 theme was based on adaptive base theme.

Configure Atom editor for Drupal development

Submitted by sharique on Mon, 05/30/2016 - 12:25

Atom editor (or just Atom) is free and open source text and code editor build by GitHub. It is build using Chromium, nodejs, CoffeScript and Less. There are few other editors build using nodejs, second most popular project is Brackets. I've tried both and found Atom stable among two. Another advantage Atom has more plugins than Brackets. Recently I'm started to using it as alternate for Sublime Text.
It has many plugins for Drupal also. I'm using the following plugins

How do I setup my local development environment

Submitted by sharique on Tue, 09/22/2015 - 18:36

In the following blog post, I'm going to tell you how I set up my development environment. I hope people will find it useful.

Currently, my work is mostly focused on Drupal, but I've worked with C++, C#, and Asp.net. First I'm going to tell you about the general setup which is common for all technologies, after that I'll tell you about items specific to technologies.

Installing drush 7 in windows

Submitted by sharique on Wed, 04/08/2015 - 13:04

The Drush team recently released rc1 for version 7 of Drush, in this release they added a nice batch script to install it on windows. For this you have download latest 7.x release from https://github.com/drush-ops/drush/releases, extract zip in a partition other than OS partition (like D drive, I extracted it in D:\install\). Now start command prompt as administrator, for this search for cmd in the start menu, on result list right click on cmd and choose "Run as Administrator".

Drush 7 installation script

Submitted by sharique on Fri, 12/19/2014 - 17:07

To work with Drupal 8, we need Drush 7, which is in alpha stage of development. So there no package available for distribution (like Ubuntu, OpenSuse). Installation of Drush 7 is not as simple Drush 6, if you not familiar with composer, you may find it difficult to install, so I've written a shell script, which can be used to install Drush 7.

This script install drush 7 for normal user, you don't need root access to run it.

Creating a custom block in Drupal 8

Submitted by sharique on Mon, 06/09/2014 - 19:51

Block is a very basic building block of any site. Blocks in Drupal 8 are very different from what we are using in d7. In D8 blocks are plugins (like ctool content type plugin) and also an entity. One more major improvement from site builder is that now you can have more than one instance of a block on the same page, all instances can have a different configuration, which was a nightmare in d7. In d7 to achieve this, you have to use either use panels or delta + context modules. Even in this way you can’t have a different configuration for each instance.

Other Drupal Contributions

Beside of maintaining Webform reports and Read onlu mode module, I'm also contributing to few other modules.

1. NML Field : The National Center for Biotechnology Information (NCBI) of the National Library of Medicine (NLM) created the Journal Archiving and Interchange Tag Suite with the intent of providing a common format in which publishers and archives can exchange journal content. The Suite provides a set of XML schema modules that define elements and attributes for describing the textual and graphical content of journal articles as well as some non-article material such as letters, editorials, and book and product reviews. This module provides a series of field-types for storing NLM-DTD based data.

2. Panel Ajax Tabs : Provides the ability to have a tabbed panel-pane that displays mini-panels within it. It can pass context from the "master" panel to the mini-panels via AJAX.

Webform reports - Drupal Module

This module provides reporting capabilities to web form module.

Using it site admin can see the charts for submission data for certain period. It uses JqPlot JQuery plugin to generate charts.


  1. Download and copy module to sites/all/modules folder
  2. Download jqPlot jQuery plugin from http://www.jqplot.com/, extract the zip file.
  3. Rename extracted folder to jqplot, copy this folder inside js folder of webform_reports module folder.
  4. Assign permission "access all webform results" to the role for which you wan to allow to see webform reports.
  5. Goto /admin/reports/webform, select webform for which you want to see report and click submit to see reports.

Read only mode - Drupal Module

Read Only Mode provides an alternate to the built in Maintenance Mode in Drupal. Instead of displaying a static text file to users while the site is in maintenance mode, Read Only Mode will allow access (reading) of new content while preventing the addition of new content (posting / submitting forms / etc).

This allows the site to remain functional while maintenance is performed. This module also provides messaging to users and administrators to indicate that the site is in maintenance mode.

Subscribe to Drupal