-
Let the fest begin! #DrupalFest
It has been 20 years since Drupal began its journey in a dorm room and reached enterprises. April 2021 is marked as the month of DrupalFest and many people are celebrating it in various ways. With everything going on, I didn’t plan to do anything this month but I am now tempted to change my…
-
Setting up Python venv in Visual Studio Code
The problem was that VS Code didn’t work like an IDE for Python anymore. There was no autocomplete of function suggestions and the IDE behaved sluggishly. Weirdly, even regular editor functions did not work; such as local changes were not being highlighted.
-
Learning Go for PHP Programmers – Part 1
I have been trying to learn Go (golang) this week a bit more formally. I have worked with Go in the past but I could do it because it has syntactical familiarity with other languages I use or have used–PHP, JavaScript, C#, C, etc. This time, I wanted to do it a bit more formally…
-
An easier way to get the current node in a block plugin in Drupal 8
It is over a year since I wrote how to get the current node in a block plugin and promised to write a follow-up post with an easier method. Well, better late than never, here it is! The previous method works, so why bother with another method? In short, it’s less code and less code…
-
Upgrade your Drupal site to the new official Drupal 8.8 composer template
Drupal 8.8 is out today! This will be the last (minor) release of Drupal 8 (thanks Eli-T) and we are now looking at the release of Drupal 9 soon. Among the many improvements, we’ll talk about the developments in the composer initiative in Drupal. For years, we have been using webflo’s composer template as the…
-
Open content in new tab with an image formatter
One of my sites has a listing of content shown as teaser. The teaser for this content type is defined to show the title, an image, and a few other fields. In the listing, the image is linked to the content so that the visitor may click on the image (or the title) to open…
-
Drupal Meetup Bangalore – July 2019
The meetup started at 10:30 AM with a brief introduction of every attendee. We covered some of the Drupal news such as recent and upcoming events in India and internationally. We also talked about Drupal 9 and other changes in the technology.
-
Drupal Meetup Bangalore – September 2018
Another month, another Drupal meetup in Bangalore. This month’s meetup was held at Athenahealth office on Lavelle Road in Bangalore. Since the last month’s meetup was scheduled a week early, there was more than usual gap since the last meetup. This time, we had a full schedule and exciting sessions planned.
-
How to get the current node in a block plugin in Drupal 8
I was trying to build a block plugin in Drupal 8 recently. The requirement was straight-forward. I would show these blocks on node pages of a certain type. Depending on the values in that node, the block content changes. UPDATE: I wrote a follow-up post with an easier method to get the node. The requirements…
-
Drupal Meetup Bangalore – August 2018
This month’s Drupal meetup was held at 91Springboard in JP Nagar. We held this meetup early instead of our usual last Saturday of the month due to a long weekend.