Drupal Customization

Jaywant Topno November 21, 2017

Resolving translation issue of Placeholder in Drupal 8

Hello Drupalers! Here is another #Tips&Trick to make your placeholder translatable. Recently, I have an opportunity to fix one of the issues in Drupal 8 instance where the website was not…

Mashirul Haque September 29, 2017

How to create custom token to be used in default mail message template in Drupal 8

Sometimes we need to do similar coding in different places, such as for account settings email templates (Welcome email template, Forget password email template, from UI to get the same results. In…

Jaywant Topno August 31, 2017

An overview of Drupal’s view Execution order

As a Drupal Developer, you must be aware of one of the contributed projects with a most Downloaded number is “Views” What are views? I don’t want to focus more on this, drupal.org gives a broader…

Chirag Shah June 26, 2017

How to manipulate pricing using Order Processor in Commerce 2.x

Highly customizable business logic is the core of any e-commerce solution. For such functionality, Order processor comes in picture which helps us to define flexible pricing with dynamic discounts.…

Kishorekumar Nagarajan August 24, 2016

How to Create Custom field in Drupal 8 (Part -1)

In a recent project we had to create a section that is having range  with the select list for the unit. It had to be usable in different sections of the layout and work the same. For this we came up…

How to Create Custom field in Drupal 8 (Part -1)

Kishorekumar Nagarajan August 24, 2016
Rakesh James January 21, 2016

How to use if else statement in twig Drupal 8?

It is really exciting to work with twig in Drupal 8. Here we are going to find out how to use if else condition in twig in page.html.twig or any *.twig files.  We are having a region called ‘banner…

Build, Manage and Activate your digital experience

Know more about our Media and Publishing Solutions

Jaywant Topno January 19, 2016

Twig: An Introduction to theming in Drupal 8?

What is Twig? Twig, a modern template engine for PHP, is part of the Symfony2 framework and is a direct replacement for PHPTemplate. Twig is created by SensioLabs, people who developed the Symfony2…

Twig: An Introduction to theming in Drupal 8?

Jaywant Topno January 19, 2016
Krishna Kanth July 26, 2015

How do you use hook_menu_alter() in drupal 7

I have been working on Drupal 7 for almost two years now. During these two years I have worked on many hooks but hook_menu_alter() hook is the one of the mostly used one. Today i going to explain my…

Krishna Kanth July 22, 2015

Custom Account cancellation methods in Drupal 7

In drupal 7 whenever admin selects to cancel user/s account, it provides multiple cancellation options like Disable the account and keep its content. Disable the account and unpublish its content…

Krishna Kanth July 15, 2015

Implementing themes based on specific conditions in Drupal 7

In drupal 7 we have options to set default theme & admin theme. There are limitations, Admin theme will be available for roles which has access permission for admin theme. But in case if we have…

Krishna Kanth July 14, 2015

Writing custom Drush commands in Drupal 7

As a drupal developer we use drush on daily basis. For example clearing the cache, downloading or enabling modules/themes, updating modules. All these commands comes with core but drupal also…

Writing custom Drush commands in Drupal 7

Krishna Kanth July 14, 2015
Krishna Kanth July 8, 2015

How to disable account related e-mails in Drupal 7

Drupal 7 provides 8 basic email templates for registering, cancellation & password recovery. These settings we can find at ‘admin/config/people/accounts’ page. In these templates, some of…

Krishna Kanth July 8, 2015

How to get dynamic or Custom page titles in Drupal 7

Recently I was working in a project where we needed to show page title in format of [ node count associated with taxonomy term] [taxonomy term page is associated with] | [site name]. By default…

Krishna Kanth July 6, 2015

Customizing node access in drupal 7

Drupal 7 provides accessing of nodes by roles & its permissions, The permissions can be set to different roles & based on permission nodes can be accessible for different operations like view…

Customizing node access in drupal 7

Krishna Kanth July 6, 2015