How to work with Twig Templates in Drupal?

ByKarthik Kumar D Kon24th Jun 2022
In this article, we are going to see how a developer can work with Twig templates, and how to override templates (if needed) and create template suggestions with hooks, so that templates could be easily managed. Basically drupal allows people to override the existing twig templates, so that people can fully have control on the html generated via the custom theme. First thing, we need to make sur

Quick reference of Code Reviews for Drupal Application

ByKarthik Kumar D Kon22nd Jun 2022
In this article we are going to see how your Drupal team can do code reviews and available tools or libraries which help people in the team to do the code reviews seamlessly. It’s pretty important to follow a few guidelines as well, so that all people or developers in the team are on the same page. Firstly, for the code reviews to be at their best, the committed code should be more organis

Usage of PHPCS on Github via Pull Request for Drupal Applications

ByKarthik Kumar D Kon20th Jun 2022
In this article, we are going to see how some tools & libraries will make people's lives easier during the development & code review process. And to make developer life easier, developers look for tools or libraries which can automated code review and if needed make any corrections in the code automatically. Here comes the PHP codesniffer and Drupal coder module. If you are maintaini

Store Secrets Securely on Pantheon for Drupal Application

ByKarthik Kumar D Kon10th Jun 2022
In this article, we are going to see how people can store access keys and tokens securely, in the case of your drupal application that is managed on pantheon. Generally, all the Access keys or Tokens or any Secret third party auth information should not be stored in the database or within the project web root, Its safe to store it encrypted and within a file, and keep the file outside of the proj

Configuration management via Quicksilver on Pantheon

ByKarthik Kumar D Kon9th Jun 2022
As we saw in the earlier article, like how we manage the configuration across the environments. In this article we are going to see how Drupal configurations can be deployed or imported across the environments with the help of Quicksilver which hooks into platform workflows to automate your Pantheon WebOps workflow across the environments. In the pantheon environment’s drupal code base, yo

Drupal Configuration management (Local, Dev, Test and Live)

ByKarthik Kumar D Kon4th Jun 2022
In this article we are going to see how Drupal serves configurations across the environments, which can be well maintained with help of some contributed modules and version control. Drupal 8 onwards configuration has been saved in the yml files in a consistent manner, which includes all the enabled modules, all the content types, vocabularies, fields & views. Making the configurations direct

Improve Drupal Search with Solr, Locally configured via Lando

ByKarthik Kumar D Kon21st Feb 2022
In this article, we are going to learn how Drupal search can be improved with Solr which provides great performance, and is suitable even for use on large commercial websites. And along with this using the search_api & search_api_solr modules, helps to configure the Facets & Multilingual content can be handled in an improved manner. And let's see how we can configure this locally with the help of

When to use hook_update_N & hook_post_update_NAME?

ByKarthik Kumar D Kon8th Feb 2022
In this article, we are going to learn when to use hook_update_N and hook_post_update_NAME. In general, I was using hook_update_N for any database-related changes or with any configuration additions or updates. And I was using hook_post_update_NAME for any content creation or updating or for the creation or updating any taxonomy terms etc, sometimes for clearing site caches as well. But, let’s h

Improvements for Editor Experience in Drupal

ByKarthik Kumar D Kon22nd Dec 2021
In this article, we are going to learn what Drupal offers for text editors or content managers as a content management framework within Drupal Core & Contributed modules. Earlier versions of Drupal have several useful features to help content editors to manage their content on a daily basis. And in the newer versions of Drupal (from when Symfony was introduced), there are a few more improvements i

Why do dentists suggest Clear aligners (invisalign)?

ByJyothi S Non3rd Dec 2021
Every patient wants their teeth to be in the proper correct position. In young patients they go for orthodontist braces treatment for the correction of their teeth. Patients demand for esthetic orthodontic appliances as made for clear aligners into mainstream modern orthodontics. Clear aligners actually began in 1926, by Orrin Remensydre’s Flex-o-Tite, the gum massage appliance which has side ef

What Drupal offers as Responsive Web Design within Core

ByKarthik Kumar D Kon7th Oct 2021
In this article, we gonna see What Drupal offers as Responsive Web Design within Drupal Core for developers. While Drupal 8 was out and it had a buzz of being responsive, mobile friendly. And yes, the Internet is on the verge of being dominated by smartphones & Drupal needs to be prepared.Mobile friendly will also mean the content is first. From a big screen to a little screen, elements would look

Know why Symfony framework was picked by Drupal

ByKarthik Kumar D Kon22nd Aug 2021
In this article, we gonna see why Symfony was picked for Drupal and what it changes for developers. As we all know PHP evolved rapidly in the past years, and unfortunately, Drupal adjustment to this development was not satisfying, especially in the case of software engineering patterns adoption. And that is one of the reasons why Drupal Developers had to come up with creative ways to deal with suc

Understand why Twig is replacing PHP Template in Drupal

ByKarthik Kumar D Kon14th Aug 2021
A completely new template engine is introduced in Drupal. The templating system in all previous versions of Drupal is using theme_* functions and PHP-based *.tpl.php files. Now, this has been completely replaced in Drupal 8. Instead of using theme functions and theme template files, Drupal is now using the Twig templating system. Twig is a PHP-based compiled templating

In layman's terms, Services & Dependency Injection in Drupal

ByKarthik Kumar D Kon4th Aug 2021
If we look into the basis of Software engineering, Dependency Injection is an approach in which one object get another object that it depends on. And these other objects are called dependencies. And Injection refers to the passing of a dependency (as a service) into the client object that would use it. With Dependency Injection, the class is no longer responsible for in

Drupal Cache Clear & Cache Rebuild

ByKarthik Kumar D Kon31st Jul 2021
In order to render a page via Drupal, Drupal will need to make several database queries and get the data to render. This process of making queries can be reduced by storing the web pages in a cache, which is what Drupal does. And developers during developments may use this cache clear or cache rebuild quite often, like after installing a new module or theme. The site wo

Multisite Local environment setup with Lando & Drupal

ByKarthik Kumar D Kon30th Jul 2021
As we have seen in the earlier article to setup the Local environment with Lando & Drupal, Now let's see how we set up the multisite with the lando. And hope you are already aware of Drupal Multisite. If not, It is a feature of Drupal that allows you to run multiple Drupal installs off of a common codebase. This allows you to share themes and modules between a collectio

Studies estimate long COVID-19 has over two hundred Symptoms

ByKarthik Kumar D Kon17th Jul 2021
According to a Lancet's journal EClinicalMedicine, In the Coronavirus (Covid-19) patients who are facing prolonged symptoms have reported more than 200 symptoms across 10 organ systems. They have analysed the responses of 3,762 peoples from 56 different countries with confirmed or suspected Covid-19. And the data were collected from September 6, 2020, to November 25, 20

Local environment setup with Lando & Drupal

ByKarthik Kumar D Kon9th Jul 2021
We developers always choose to have some tools or setup, which makes our lives easier during the development process whether it might be a local environment or higher environments. Not only will lives be easier with such a setup, even the productivity of the individual or team will be increased. And today we are gonna see how Lando will help the drupal developer or drupal development much more qui

Fix SSL error 61 in Citrix Web Receiver on Ubuntu

ByKarthik Kumar D Kon5th Jul 2021
This article is about fixing only a single error which you see with Citrix Web Receiver on the Ubuntu machines. This might be a simple & specific issue, but people who are facing this issue will really feel grateful with the solution provided. After you install the Citrix web receiver on Ubuntu machine & while you try to connect, in some cases no connection to syste

Why to have a Green Roof or Eco Friendly Roof on a Building

ByKarthik Kumar D Kon22nd Jun 2021
A roof of a building that is partially or completely covered with vegetation, that is planted over a waterproofing membrane. It may also include additional layers such as a root barrier and drainage and irrigation systems. Rooftop ponds are another form of green roofs which are used to treat greywater. Vegetation, soil, drainage layer, roof barrier and irrigation sy

Security Hardening - Nginx Response Headers

ByKarthik Kumar D Kon20th Jun 2021
Now-a-days, web based attacks are one of the most common types of cybercrime, and in most cases, the attacked protocol is the HTTP, while the component that receives the attacks is the web server. Hardening Nginx HTTP headers becomes necessary for reducing any attacks to the web server. And how to harden Nginx response HTTP headers? - HTTP headers are pieces of info

Why Dental Implants?

ByJyothi S Non15th Jun 2021
Advanced dental treatments all over the world led to new advanced solutions for dental problems, one such is Implant. An implant is a medical device manufactured to replace a missing biological structure, support a damaged biological structure, or enhance an existing biological structure. In cases a like, A person’s teeth missi

Black Fungus - Detected in Coronavirus Patients

ByLeela Vasundharaon13th Jun 2021
Black fungus is an infection caused by a fungus named mucormycosis. This fungal infection is being reported in a few Corona-affected patients during or post-recovery. People catch mucormycosis when they come in contact with the fungal spores in the environment. It can also be contacted through skin contact through a cut, burn, or any other form of skin trauma.

Drupal 7 to Drupal 8/9 Audits

ByKarthik Kumar D Kon24th Apr 2021
Migration from Drupal 7 to Drupal 8/9 is more of a re-build than a simple upgrade. We can move the content. users and other configuration with the help of core system, But still their will be a need to re-write custom modules or themes and some times contrib ones as well. By having a list which helps us to Audit any D7 Project to Drupal 8/9 migration would help start quick.
Showing articles of label Sci-Tech. Show all articles
We Need Your Consent
By clicking “Accept Cookies”, you agree to the storing of cookies on your device to enhance your site navigation experience, analyze site usage, and assist in our efforts to serve you with personalized offers and communications.
I Accept Cookies