How to easily setup git hooks for your Drupal project?
abhai
23 April 2022
Git hooks facilitates some scripts or commands that you can run before or after any git commands. For example, you can set to lint, validate your code using phpcs before every commit or push.
Tags
Some essential Drush commands
abhai
23 April 2022
New Drupal module: checkpost
abhai
12 January 2022
How to setup drush aliases for your Drupal 8/9 website
abhai
13 October 2021
Drush is the CLI tool for managing Drupal projects. Drush alias works by using this username and domain/ip address combination to login to the server and execute the command and then return back to your command line.
How to redirect anonymous users to login page?
abhai
3 September 2021
All you have to do is intercept every request, check if it is authenticated user and if not redirect to login page. There is an Event that is fired on every request, we need to subscribe to that event.
New Drupal 8/9 module: Dopup
abhai
4 October 2020
This module provides simple popup block like that of sumo.me.
Sometimes we need to display popup blocks which interacts with the user.
Example, Get a Quote, Newsletter subscription forms. Using this module,
the user can and their webforms to a block which is a popup and style it as well.
After this, the user can specify when to display the popup to the user.
Example, 5 seconds after the user is on the page, when the user scrolls to 50% of page and so on.
The user can also add custom styles to the block.
A simple and fast Headless Drupal 8 solution: Acephalous
abhai
21 September 2020
An API first distribution and a responsive Angular Single Page App using Angular material.
Acephalous provides an Angular front-end and an API first Drupal back-end. Routing has been made simpler here by using the same routes from Drupal rather than re-inventing the wheel. Routing takes place in the Routing component in the Angular Single Page App.
The purpose of this distribution is to create a fast, secure and small front end application while keeping all the Drupal 8 goodness like SEO, responsive images, routing, multilingual, easy content authoring, views. Basically Drupal acts like an smart content source and a JavaScript framework renders it.
How to upgrade your Drupal 8 site to Drupal 9
abhai
7 September 2020
Upgrading a Drupal 8 site to Drupal 9. Follow the blog written by Dries on Drupal.org: https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-to-drupal-9-or-higher to easily upgrade.
How to run Behat test automation for Drupal on Lando using Acquia BLT
abhai
7 September 2020
Acquia vs Platform.sh: The "better" Drupal hosting for your application
abhai
7 September 2020
For hosting Drupal applications, it is better to go with a hosting platform that promises support specifically for Drupal. There are many such platforms, Platform.sh, Acquia, Pantheon. Let's compare the two leading one's from a slightly different user perspective.