priya.chowdhury

Drupal

Implementing views custom style plugin in Drupal 10

Views style plugins, such as tables and lists, serve the purpose of presenting a view in various display formats. The built-in plugins usually suffice for basic displays, and customising them by overriding their template files through theming is often a simple solution for most customization needs. However, when dealing with more...

12-Oct-2023

Drupal

Add inline Javascript code in Drupal 9

In our Drupal projects, we have requirements to add some kind of inline javascript code, like adding GTM script. This can be in the page header or page bottom as per requirements. So in the blog, we will see how we can achieve this by both methods. Drupal provides hooks to do this in a proper way. To add the inline javascript code in...

26-May-2023