Technology

Cómo mostrar los mensajes de error de PHP en Drupal 8 y 9

If you are ever working with code in Drupal and encounter the typical message, "The website encountered an unexpected error. Please try again later," it’s a sign that there’s a bug. However, there’s no way to know exactly where it occurred, and it's tedious to go back and forth trying to find it manually. Drupal has an error level manager to help display errors.

The following tip is a trick developers can use to make the most obvious errors visible.

All you have to do is copy the following code.

Codigo PHP

And paste it into the "settings.php" file of your Drupal installation.

Starterkit Theme Builder replacing Classy

In Drupal 10, the Classy theme has been replaced by the new Starterkit theme builder. The Starterkit theme builder is now the recommended way to create new themes, rather than setting a theme's base theme - a core theme such as Classy. Note that this is specific to creating new themes, and there are no automated tools to convert existing themes to take advantage of Starterkit.

How to install a Drupal 9 demo on Pantheon

Pantheon gives us the option to work in separate environments, which can be found in the upper left corner and are the development environment (Dev), the test environment (Test) and the production environment (Live). If the account used is not paid, you will only have access to the Dev and Test.

Drupal 10 and the decoupled (headless) approach

With the release of Drupal 10 in June 2021, the Drupal community has been focused on making the most of the new features that this new release has brought with it, in addition to all the improvements that make it easier than ever to create an experience digital headless.

Web accessibility, is it a value in the digital principles of your organization?

In an increasingly digital world, web accessibility has become an important issue for companies and organizations that want to reach a broader audience, including people with some type of disability. Inclusion is a key value in modern society, and this is reflected in the need for websites to be accessible to all users, regardless of their abilities or disabilities. 

Preparing for the Drupal 10 release

It is time to prepare for the launch of Drupal 10, since the scheduled date is two months from now in December. The Drupal 10 page on Drupal.org contains all the information you'll need to ensure you have a smooth upgrade to Drupal 10.