Skip to main content
PK's Diary

Main navigation

  • Home
  • Reposts
  • Stories
  • Articles
  • Notes
  • About

Breadcrumb

  1. Home

Drupal

Try to use Rules module or Rules API for feature like sending mail based on any event

Problem Statement: Recently, in my project, I came across a situation where on a webform submit by the authenticated user I had to send mail based on a configured variable. So, the condition was if variable is set to value 1 mail should be sent to site admin, else if it is configured 2 mail should be sent to the users which were referenced from the current user via field (say field_user_references) and tricky part if user field (field_user_references) is empty, mail should go to the site admin only.

Tags

  • Drupal
Drupal

Checklist for Drupal Developer Interview | Revision Plan

Basic Programming Skills

  • Call by reference

  • Call by value

  • Recursion 

  • Programs on Recursion (Factorial, Sum of n natural numbers)

  • Programs on string (Palindrome checking)

 

OOP - Skills

  • Access Modifiers

  • Abstract Classes

  • Interface

  • Static

  • Scope Resolution Operator

  • this

Tags

  • Drupal

Getting started with ReactJS & Drupal (Fully-Decoupled)

The only thing which is constant is change. Remember how the websites looked 10 yrs ago. Just in case you want to go to flashback here is a reference link: https://www.hongkiat.com/blog/websites-we-visit-how-they-look-like-10-years-ago/. With digital experience enhancing day by day and rapid advancement in technologies around, every day we see an improved version of the web world. And so to keep the ball rolling, as techguards we need to sharpen our skills timely.

Tags

  • Drupal
  • ReactJS

Extending Drupal Translations for Custom Entity in Drupal 7

Drupal 7 core, together with Drupal contrib (https://www.drupal.org/docs/7/modules), has the ability to ship a powerful platform for our digital requirements in the enterprise world. The multilingual feature is one of the prime reasons that Drupal is a distinguished and a preferred solution to achieve business goals.

Drupal 8 includes the multilingual package in the core itself, while Drupal 7 requires some extra amount of effort to build this package as a whole to make Drupal multilingual ready.

Tags

  • Acquia
  • Drupal

Google Assistant Integration with Drupal

The Rise of Assistants

In last couple of years we have seen the rise of assistants, AI is enabling our lives more and more and with help of devices like Google Home and Amazon Echo, its now entering our living rooms and changing how we interact with technology. Though Assistants have been around for couple of years through android google home app, the UX is changing rapidly with home devices where now we are experiencing Conversational UI i.e.

Tags

  • Drupal
  • QED42

Implementing #autocomplete in Drupal 8 with Custom Callbacks

Autocomplete on textfields like tags / user & node reference helps improve the UX and interactivity for your site visitors, In this blog post I'd like to cover how to implement autocomplete functionality in Drupal 8, including implementing a custom callback

Step 1: Assign autocomplete properties to textfield

As per Drupal Change records, #autocomplete_path has been replaced by #autocomplete_route_name and #autocomplete_parameters for autocomplete fields ( More details -- https://www.drupal.org/node/2070985).

Tags

  • Drupal
  • QED42

New Module - AddToCalendar Drupal Integration

Drupal sites with events functionality, often have to allow their users to export events in their personal calendars. On a recent Drupal 8 project we were asked to integrate 3rd party service Add to Calendar to their events and having found no formal integration of the widget with Drupal we developed and contributed this module. The widget provided by Add to calendar supports export of Dates / events to iCalender, Google Calendar, Outlook, Outlook Online and Yahoo Calendar.

Tags

  • QED42
  • Drupal

New Module - CSSgram recreating Instagram like filters for Drupal 8

CSSgram module supplements Drupal Image styling experience by making Instagram like filters available to your Drupal 8 site images, we do this with help of CSSgram library. 

Beauty of this module is, it simply uses css to beautify your image.

How CSSGram Module works?

CSSGram module uses CSSGram Library for adding filter effects via CSS to the image fields. Module extends Field Formatter Settings to add image filter for that particular 

Tags

  • QED42
  • Drupal
QED42

My first week @ QED42

          It's the peak time of anybody's life when the phase shifts to production leaving back the development and finally the same happened with me. Starting the professional career with QED42 is the result of QED42's selection and my preference. I don't know whether I'm lucky enough or i really deserve to be a part of QED42, both-ways I feel like I'm the winner. How ? My next few lines would be dedicated to explain the reasons to support my words.

Tags

  • QED42
  • Drupal
  • Open Source
  • Life
Drupal Gates

Made it - to the gates of Drupal - My first Drupal Contribution

I don't know from where to start on ... but yes the journey for this day had been started months ago. Finally, this morning, when I woke up and out of habit just checked my gmail, the word drupalove drew my attention which excited me to move on to laptop from my mobile, for larger view i guess... ;).

Tags

  • Drupal
  • Life
  • Open Source

Pagination

  • Previous page
  • 2
  • Previous page
Drupal

Explore topics

TwigQED42Acquia CertificationDrupal PlanetDrupal CertificationThinkingDrupalOpen SourceLifeBackend Specialist
more tags

Quick Notes

Accessing Translated Entity in Views Twig | Drupal 8
Making a variable available (as global) in all twig files in Drupal
Data Structures and Algorithms - Solved in Javascript | Geeksforgeeks
Create alias for frequently used commands
Acquia Front-End Specialist Exam Preparation Pointers

Recent Stories around me

Software Engineer Interview Experience with Glovo
Why Amazon is better than Flipkart - Indian ecommerce market
Acquia Certified Drupal 8 Grand Master
Seminar at DCRUST on Open Source as Career
A Walk to Remember | June 2015 - August 2018 | QED42

Recent write-ups | PK's pen

How to check if Memcache, opcache or varnish is functional with the Drupal 8 application?
Getting started with ReactJS & Drupal (Fully-Decoupled)
Extending Drupal Translations for Custom Entity in Drupal 7
Google Assistant Integration with Drupal
Art of writing template files - Drupal 8
PK's Diary
Powered by Drupal