Skip to main content
Menu
Offcanvas
Illustration blog

Drupal Blog

Drupal is a powerful and easily editable content management system (CMS) that allows users to create and manage content on one or more websites.  It is open source and used by millions of people and organizations. It benefits from a very large community of developers and users. Discover on this blog articles on Drupal modules, tips and code to optimize and add features to Drupal.

Ajouter une meta description à une seule route générée par un module Drupal.

If you are creating a route with a Drupal module, you may need to add a meta description to this page. You can use the hook_page_attachments() hook

read more

Integrate a Popin on your Drupal site

You may sometimes need to display a popin to announce an event, important information for users or offer a registration form as soon as a web page opens.

read more

How to get a twig template suggestion for a custom block?

By default, Drupal does not have a twig template suggestion for custom block types. You can use a hook to get a suggestion easily.

read more

How to improve the ergonomics of the Paragraph module in the back office?

The paragraph module improves content management on Drupal. By default, the display of paragraphs can cause ergonomic problems (very long editing page, no overview of paragraphs, difficulty in ordering, etc.). Here is a solution to improve the presentation of paragraphs.

read more

How to create custom permissions on Drupal?

We may need to create permissions that do not exist natively on Drupal or that are not precise enough. For example, Drupal will offer a permission that includes several features when we want to offer only one. The custom permissions module allows you to precisely manage permissions.

read more

How to create role-specific registration pages?

The Multiple Registration module allows the use of different registration forms depending on the roles.

read more

Ultimate Cron

Drupal has a native CRON system but it does not allow you to manage CRON tasks individually or by group. The Ultimate Cron module allows running a CRON job or group of jobs at different times.

read more

Rename "web" public folder to htdocs, public_html or other

The folder that contains the site is named web. It may happen that we are asked to rename it. Here's how to do for example if this folder needs to be renamed to htdocs.

read more