Sci-Tech

Drupal LMS Features for Your Education Business

ByKarthik Kumar D Kon30th May 2023
If you're running an education business and considering Drupal as the platform for your Learning Management System (LMS), there are several features and capabilities you should look for to ensure a robust and effective solution. Here are some key Drupal LMS features to consider: Course Management: A Drupal LMS should provide comprehensive course management capabilities. This includes the ab

Leveraging Content Grouping for Personalized Digital Experiences

ByKarthik Kumar D Kon21st May 2023
Content grouping is a powerful technique that can be leveraged to create personalized digital experiences for users. By grouping content based on specific criteria, such as user preferences, demographics, or behavior, you can deliver targeted and relevant content to individual users. Here are some ways to utilize content grouping for personalized digital experiences: User Segmentation: Segment y

What to know before you choose a Drupal Hosting Platform?

ByKarthik Kumar D Kon16th May 2023
In this article we are gonna see a few important notes which will be helpful for people who are looking out to host their Drupal application. When selecting a hosting platform for your Drupal website, there are several key factors to consider. Here are some important things to know before making a decision: Compatibility with Drupal: Ensure that the hosting platform is compatible with Drupal

node_get_recent() is deprecated in Drupal 10.1.x

ByKarthik Kumar D Kon9th May 2023
node_get_recent() is unused in core and is now deprecated, developers can use views or EntityQuery to get the nodes which are recently modified or added. Earlier drupal developers used to use the function node_get_recent() to get the recently changed nodes like seen in below example $latest_updated_nodes = node_get_recent(10); Now from Drupal 10.1.x onwards, developers need to use entity q

Best way to add additional estimates upon the original estimate for a Story in a Sprint?

ByKarthik Kumar D Kon8th May 2023
When additional work or requirements are identified for a Story during a Sprint, it is important to ensure that the impact on the Sprint's scope and timeline is understood and communicated to the team and stakeholders. Here are some steps that can be followed to add additional estimates to a Story in a Sprint: Review the original estimate: First, review the original estimate for the Story an

How to generate good revenue from blogging websites?

ByKarthik Kumar D Kon7th May 2023
To maximize revenue from your blog, it's important to focus on creating high-quality content, engaging with your audience, and promoting your blog through social media and other marketing channels. There are several ways to generate revenue from a blogging website: Advertising: Displaying ads on your blog is one of the most common ways to generate revenue. You can use ad networks like Googl

How to improve a website's SEO score and make it searchable on Search Engines like Google?

ByKarthik Kumar D Kon6th May 2023
It is very important for the business to have their web sites to be popular on the search engines and the process of improving the quality and quantity of website traffic to a website or a web page from search engines is search engine optimization. In this article, we are going to see how one can improve their website’s SEO score and make the website popular on search engines. Improving yo

How to secure the Passwords of Users in Web Applications?

ByKarthik Kumar D Kon26th Apr 2023
Generally while working with Web applications, one of the important data related to Users is their passwords, and keeping them secured is one of the important jobs of the Web application. In this article we gonna see a brief how a developer or admin can make sure the passwords are secure on the web application. Here are some best practices to secure passwords in web applications: Use Strong Pa

Fix Colima connection refused error: failed to get Info from .lima/colima/ha.sock on Mac

ByKarthik Kumar D Kon19th Apr 2023
This article is about fixing only a single error which you see with Colima on Mac machines. This might be a simple & specific issue, but people who are facing this issue will really feel grateful with the solution provided. While you are running Colima on your mac machines, generally you get into such issue, when you power off or shut down your mac, without stopping the colima service (and de

Checklist for building an Eco-Friendly Home

ByKarthik Kumar D Kon29th Jan 2023
To build a home, which makes low-impact environmentally. And built using materials & technology that lowers its energy needs in future. And also make sure built home is reliable for few decades with minimal energy spent on it. To do this, you have to consider Energy? what Sustainable materials to be used? how it impacts on our health? And what is costs Before getting into the details of each

Multisite Local environment setup with DDEV and Drupal

ByKarthik Kumar D Kon26th Jan 2023
In this article we are going to see how we can set up a multisite environment with ddev on the local machine. Assuming people are aware of configuring the drupal multiple site from the drupal side of configurations. As we all know ddev is an open source tool for running local PHP development environments in minutes, which makes developer life easier during the local environment setup process, her

Secure your Web Application's Reset Password flow

ByKarthik Kumar D Kon22nd Jan 2023
Generally any application framework provides users to have a flow to reset the passwords by default, It is more like, use clicking on the Reset Password link and redirects to a page where he will asked for email, and reset link sent to users email, so that user can reset the password on their own. This is a default or general flow that any application framework provides, but developers or archite

How does Captcha know that I'm not a Robot?

ByKarthik Kumar D Kon11th Jan 2023
Almost all the developers working on web applications would have come across captcha or re-captcha. And developers might have also used them on the web pages before authentication of users on web applications or before showing specific content to users. As developers, we might have got a thought like how will this work behind the scenes, but in most of the cases, we developers would have ignored

Colima, similar tool like Docker Desktop, for Drupal Development

ByKarthik Kumar D Kon31st Dec 2022
Colima is a project that is easy to use and fully open source, and it helps in running docker containers on Linux OS and MacOs machines. We know Docker Desktop is no more a complete open source, if you are not using it personally. So now Colima is a tool which does work similar to Docker Desktop and In this article we are going to see how it works alone or along with Docker Desktop on your Linux

Local environment setup with Lando & Drupal 10

ByKarthik Kumar D Kon18th Dec 2022
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 quicker

Drupal 10 is coming in a few days!

ByKarthik Kumar D Kon8th Dec 2022
Drupal 10 is planned to be released in December 2022. Drupal 10 will be straightforward upgrades like Drupal 8 to 9. Upgrade processes used are more or less similar. Mostly you need to keep your current site up to date with the latest drupal core and contributed projects. What is new in Drupal 10? Drupal 10 is a refined version of Drupal 9 with the certain features Claro administration theme i

Project vs Product - Plan and Delivery, Agile Characteristics

ByKarthik Kumar D Kon22nd Nov 2022
In the Service Industry, a Technical Lead or Technical Architect or Delivery Manager, one is always looking at the work, either as a Project or a Product, but I say, one should look at it as both, because work would be a Project for us but work would be a Product for the clients. While working on Agile basis, being at the leading positions one will be seeing the scope of work, then prepare the ba

Usage of Constraints (Validations) on Media Entities in Drupal Application

ByKarthik Kumar D Kon30th Jul 2022
In this article we are going to see how drupal developers can use the Drupal Constraints to Validate the Media entities. Basically Drupal provides Constraints to do the Validations on the Entities, where Drupal uses the Symfony’s validator and extends with Symfony’s Typed Data API for validating specific Entity field definitions. These constraint validators can be used in different w

INS Vikrant Delivered to Indian Navy, First Indigenous Aircraft Carrier by India

ByKarthik Kumar D Kon29th Jul 2022
INS Vikrant which is also known as Indigenous Aircraft Carrier 1 (IAC-1). It is the first aircraft carrier to be built in India. This is an Aircraft Carrier constructed by the Cochin Shipyard Limited (CSL) for the Indian Navy. The name Vikrant means courageous in Sanskrit. The motto of the ship is Jayema Saṁ Yudhi Sprdhah, which means I defeat those who fight against me. Brief of the backgroun

Usage of Local Php Security Checker for Drupal Applications

ByKarthik Kumar D Kon23rd Jul 2022
In this article, we are going to see how the Local PHP Security Checker library will make people's lives easier during the development & code review process. To make developer life easier, developers look for tools or libraries which can automated security review. Here comes the Local PHP Security Checker library, which checks for any known vulnerabilities in the package dependencies. Th

Complete Guide to Setup and Usage Solar Panels at Home

ByKarthik Kumar D Kon20th Jul 2022
Going green is the best of the environment and if you are planning to go green, then we all know Sun is the non-renewable energy and we could use this energy for people's survival. We have a few articles at PeoplesBLOG related to the Environment and going green, have a check of them. Using the Electricity from Solar energy is one of the best combinations, because there is not much waste out o

Cooking Food with Solar Power at Home

ByKarthik Kumar D Kon18th Jul 2022
On PeoplesBLOG, we were writing articles related to Eco friendly homes and how to use Solar energy and along the same lines, in this article we are going to see how people can cook their food with Solar energy. Generally majority of the people nowadays use Gas stoves for Cooking at home and Solar is one of the best case of the replacement for this. People can make a major change on the Environmen

Read Data to Paragraph Template in Drupal Application

ByKarthik Kumar D Kon17th Jul 2022
In this article we are going to see how to read the dynamic data of the node or entity or field values to the template file, which are specific to the paragraph template. Generally while the Paragraph module is used, default template suggestions given by the paragraph module or the template suggestions provided by the hooks are used and further template design is done. Here’s the article wh

How to work with Drupal Paragraphs?

ByKarthik Kumar D Kon12th Jul 2022
Paragraphs can be used as a way for Content Creation in Drupal. It actually allows the site builders to do their stuff a bit cleanly and for the end users this will be pretty easy to manage the content, meaning people get more control on the Editing side. Paragraphs is one of the  popular modules in Drupal, for handling content. It is more or less very similar to the fields and will provide

Usage of PhpStan on Github via Pull Request for Drupal Applications

ByKarthik Kumar D Kon5th Jul 2022
In this article, we are going to see how some tools & libraries will make people's lives easier during the development and code review process. We have a similar helpful article related to Phpcs, have a check of this. 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 come

How to charge a Mobile phone with Solar power?

ByKarthik Kumar D Kon1st Jul 2022
In this article, we are going to see what all options we have to charge a mobile phone with Solar power. If you are going on treks which are primarily overnight or a few days of trek in some isolated place. In such cases obviously we won’t get any electrical power, In such cases for people Solar energy would be an alternative option to keep your device charged. And let’s see what all

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

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

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.

Technical Writing Vs Content Writing

ByLeela Vasundharaon13th Apr 2021
While we see at the first time, we might see Technical Writing and Content Writing career paths to be similar. But in reality these two are differnt in concepts. Technical writer would have an excellent grip on the technical abilities which would help to work in various domains. While Content writer would a precise attention grabbing writing style which makes the re

Heat waves in India and Current Temperature Status and Warning for next five Days

ByKarthik Kumar D Kon29th Mar 2021
In 21st century due to climate changes, global temperature can increase means heat waves would be compartively more. This might affect human health a lot and in some cases can lead to death. We should know that, these heat waves will affect many people in small amount of time. In India, these Heat waves generally occur from March - June, & in some cases, they might

Drupal JSON API, Deep Dive - Part 2

ByKarthik Kumar D Kon28th Mar 2021
In Part 2, Let's see about the Core concepts like Types, URL structure, HTTP methods, Request headers, Response codes and Document structure i.e Data in the request body. JSON:API module will provide the APIs for Drupal entity types and bundles, where every bundle will have its own unique url path, which will have a shared pattern. Types

Locally Setup and Scan your Docker images via Clair

ByKarthik Kumar D Kon24th Mar 2021
Docker Images contain not only application code, but a OS and additional utilities to make application run as expected. Images can also be vulnerable its better not have any CVE's in image. Running scans are one of the way to protect from CVE's. These container scanning tools scan for known vulnerabilities in the image. In this article, We use Clair to scan a Docker

Monitoring Web Application with ELK Stack

ByKarthik Kumar D Kon19th Mar 2021
For Auditing & Troubleshooting issues in an application, log data is very useful. And to make it easy to read the log data via some kind of tool will make developers & maintainers happy. However, not all the log data for any event is not needed to be stored in the log record. Means, Each log record should have only the information needed for further notice or further debugging. Strictly all sensit

Drupal JSON API, Deep Dive - Part 1

ByKarthik Kumar D Kon18th Mar 2021
JSON:API module is implemented based on JSON:API Specification. Means, a specification that says how client should request the resources to be fetched or modified, & also how server should respond to such requests. This JSON:API is designed to minimize the number of requests and also minimize the amount of data transmitted between clients & servers. And such efficiency is achieved without compromi

Things to know about Proofreading

ByLeela Vasundharaon2nd Mar 2021
Proofreading is the process of looking for and correcting errors in your work i.e. finding and correcting spelling, grammar, punctuation, consistency and errors. Proofreading is the last step in your writing and editing process. You should have written and edited your work for general coherence and flow before proofreading.

Coronavirus, Discovered in the 1960s, Serious Respiratory Tract Infections

ByKarthik Kumar D Kon22nd Feb 2021
Coronaviruses are a group of viruses that cause diseases in mammals and birds that include diarrhea in cows and pigs, and upper respiratory disease in chickens. In humans, the virus causes respiratory infections, which are often mild, but in rare cases are potentially lethal. There are no vaccines or antiviral drugs that are approved for prevention or treatment.

World Cancer Day, February 4th - Early detection of Cancer can lead to Improved outcomes & Cure.

ByKarthik Kumar D Kon4th Feb 2021
Cancer is a large group of diseases that can start in almost any organ or tissue of the body when abnormal cells grow uncontrollably, go beyond their usual boundaries to invade adjoining parts of the body and/or spread to other organs. The latter process is called metastasizing which is a major cause of death from cancer. A neoplasm and malignant tumour are other common names for cancer.

Send Mail with Custom Email Template & with Dynamic values via Drupal Mail Service

ByKarthik Kumar D Kon20th Jan 2021
Sending an email works with defining an email template (subject, text and possibly email headers) and the replacement values to use in the appropriate places in the template. Processed email templates are requested from hook_mail() from the module sending the email. Any module can modify the composed email message array using hook_mail_alter(). Finally \Drupal::service('plugin.manager.mail')->mail

API Docs Drupal Module simple way to show OAS Docs on Drupal Portal

ByKarthik Kumar D Kon16th Jan 2021
If you want to show API Documents on your Drupal Portal and you want to do it do it quickly, Here's the module API Docs which solves your purpose. API Docs is a simple module which will will provide a content type for the API Doc and User will be able to create API Documents by just uploading Open API Spec. Each API Doc is a content with this API Docs module. Prereq

Rainwater Collection, Storage & Purification

ByKarthik Kumar D Kon18th Dec 2020
Rainwater Harvesting is the collection & storage of rain water, rather than allowing it to run off. Rainwater is collected from a roof-like surface and redirected to a tank, cistern, deep pit (well, shaft, or borehole), aquifer, or a reservoir with percolation. We can utilize this water for many purposes like, include watering gardens, livestock, irrigation, domestic use with proper treatment, and

Construction materials for Thermal Resistance Walls, Earth Bricks

ByKarthik Kumar D Kon20th Jun 2020
Construction process can be tedious, time consuming, and expensive. To overcome this during construction, varied methods of construction is being considered and developed. Also, materials and equipment used for construction are also being fabricated to enhance the quality of construction and furthermore minimize the time and cost. Interlocking bricks are one such advancement in construction indust

Scientists Have Created Hexagonal Salt, For First Time Ever

ByKarthik Kumar D Kon1st Jun 2020
While it probably won't make it to your dining table, a new scientific achievement might be able to help in everything from radar equipment to electric cars: scientists have been able to form salt, aka sodium chloride (NaCl), in a hexagonal shapeThis is work done at the smallest of scales, with researchers able to get a thin film of hexagonal salt to form on top of a layer of diamond, due to the c

'PigeonBot' is the first robot that can bend its wings like a real bird

ByKarthik Kumar D Kon31st May 2020
Pigeons may be considered rats of the sky, but some scientists have found greater value in these urban birds: the blueprint for a new generation of flying machines.Birds can modify the shape of their wings by fanning out their feathers or shuffling them closer together. Those adjustments allow birds to cut through the sky more nimbly than rigid drones. Now, using new insights into exactly how pige

Drupal JSON:API GET, POST, PATCH and DELETE Samples

ByKarthik Kumar D Kon11th Nov 2019
The API that the JSON:API module makes available is centered on Drupal's entity types and bundles. Every bundle receives its own, unique URL path, which all follow a shared pattern HTTP Methods JSON:API specifies what HTTP Methods to accept. Those are: GET, POST, PATCH, and DELETE. Notably, PUT is not included.

Cache Set, Get and Invalidate per User in Drupal 7

ByKarthik Kumar D Kon26th Jun 2019
How to Set, Get and Invalidate the caches per user in Drupal 7, this blog article will explain a brief of how to do such implementation on Drupal using the default drupal cache functions. Here, we go with the steps Initially, create the custom functions for Get, Set and Invalidate the caches per us

Store Drupal logs on Amazon S3

ByKarthik Kumar D Kon24th Jun 2019
Store Drupal logs on Amazon S3 via hook_watchdog, so that you can get rid of heavy logs on your drupal database and can later read from the S3. For this todo on Drupal You should use the "hook_watchdog" hook, where this hook allows modules to route log events to custom destinations.

AES Encrypt & Decrypt

ByKarthik Kumar D Kon11th Jun 2019
Advanced Encryption Standard, where we use AES-256 to encrypt the data with Cipher. Encrypt & Decrypt approach taken is 'Cipher Block Chaining' method 'AES-256-CBC'. AES Encrypt We would have the 'Secret' stored in a file which is other than the web root.

Sites Still Vulnerable to Drupalgeddon 2

ByKarthik Kumar D Kon27th Jun 2018
Attackers are exploiting Drupalgeddon 2 critical vulnerability in Drupal to compromise systems & secretly turn them into malicious cryptocurrency mining machines like cryptojacking malware, mine for Monero. The only side effects a victim might notice is that their system is running slower or doing more work than usual. Still most of t

Secure Website running on Apache with Let's Encrypt on Linux

ByKarthik Kumar D Kon1st Feb 2018
Website security is generally most complicated and expensive task for every Linux admin. Let's Encrypt is a free, automated, and open certificate authority that provides free X.509 certificates for Transport Layer Security encryption via an automated process. It's very complex process to install and add SSL certificate to a web server. Let's make it easier with the

Aegir on Docker - Develop, Test, With Easier Deployment

ByKarthik Kumar D Kon3rd Sep 2017
Aegir with Docker would be one of the brilliant option for Better Drupal Development and Faster Deployments. Docker, which solves the overhead of virtualization layer. And Aegir, which gives the best possible approach for Drupal Multisite hosting. Here you go??? Better Task Queue..! This process is usua

Integrating Codeception with Drupal to have added support for TDD

ByKarthik Kumar D Kon26th Mar 2017
Getting Codeception into Drupal, will have added support for Test Driven Development.. Specifically in having the Acceptance Tests in the project.. Since Test Driven Development would be one the most integral part of the project.. And also internal team and vendor team would be having more confidence in the version releases of their project.. one can prefer TDD. Tes

Creating a Twitter Share block programmatically in Drupal 8

ByKarthik Kumar D Kon14th Mar 2017
How to Create a Twitter Share block programmatically in Drupal 8. Which includes few minor stuff like Accessing the Current Node data in Block. How do we create the link programmatically. Disable cache for particular block.

Auto Tagging of Taxonomy terms in Drupal7

ByKarthik Kumar D Kon27th Sep 2015
This article help you to create the way to implement the autotagging of the taxonomy terms based on the other field of the node page. This can be implemented by using the hook_node_presave(). In our case lets consider the field_tags is the taxonomy field, and we are autotagging based on the content present in title and body fields. Al

Configuring & Debugging Drupal 7 on PHPStorm with XDebug on Ubuntu14

ByKarthik Kumar D Kon26th Aug 2015
Debugging the code is one of the important process for a developer, So now this article will help you to configure the Phpstorm for debugging the Drupal 7 application with the help of xDebug. The configuration made in this article refers specifically to the Ubuntu machine, which has Apache2 webserver running and xDebug installed. Init

Custom Batch processing in Drupal 7 to update Nodes - Batch API

ByKarthik Kumar D Kon17th Aug 2015
Drupal's batch API processing is very nice and provides few benifits, We can break long tasks into smaller batches, and by this we will be able to prevent maximum execution time errors. This article will show how to Build a batch routine in a custom module, its more straight forward approach, you can follow up below code, which is been explained with required comments. Create your custom module, w

Drupal7 Simple Test case in Custom Module

ByKarthik Kumar D Kon12th Jul 2015
Why to write test case? Very simple, in one word, Its waste of time and effort of checking something we changed in code and that effects other part, and to make sure every time what change we make that should not effect any other code, so this task can be done by our test cases In this article, giving a simple test example to create a drupal test case

Filter content between Date ranges in Drupal 7

ByKarthik Kumar D Kon11th Jul 2015
It is tempting to believe that using the is between on a date fields will work. However, this option is used only in the case of events Starting on a range of date. This tutorial requires that you already have a content type with a date field . It is not necessary to have two fields to adjust an 'end date' for the event, only a date field with the 'Collect an end da

Create Related Content of Different Content Types through Taxonomy in Drupal7

ByKarthik Kumar D Kon11th Jul 2015
Step 1 Create a Taxonomy term field for the content type, In this article lets take example for Basic Page content type as shown in the below image. with the Autocomplete selected as settings of the term reference field. Step 2 And next create/resue the Taxonomy term field for the other content type, In this article lets take example

Drupal Multisite development environment Configuration in Ubuntu14

ByKarthik Kumar D Kon8th Jul 2015
Prerequisite Requires a working drupal installation Set up your hosts file Add the following lines to /etc/hosts: 127.0.0.1 testsite.localhost 127.0.0.1 testsite2.localhost Set up Virtual Hosts Add the following code to /etc/apache2/sites-available: Goto to the fold
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.
I Accept Cookies