Blog
Today I come to talk about my SideProject Vabiso.com, which is going to be one year old next month, and how the backend is implemented to support a massive volume of data and show it all on a map. I'm going to separate this article into the sections that I...
When you have to modify the values of the fields by code, there are several ways to do it. The most typical one: $entity->field_name->value = 'foo' $entity->field_name->target_id = 123 but it is the same as doing: $entity->field_name = 'foo' $entity->field_name = 123 That's a shorter way to write the same...
This is a module that I did not know. I found it in a project already done. https://www.drupal.org/project/active_facet_pills The main problem is that this module was popping one of the pages of the Search API Views of this client. Researching I found out that the Active Facet Pills module what...
If you have reached this page it is because you have noticed that your logs are very large and take up more space than you want. Detect exactly the size The following command shows the size of each of the logs in your docker containers. docker ps -aq | xargs...
DigitalOcean and Linode have a great offering: a minimal, intuitive and easy user interface and competitive pricing. But few know about Hetzner , which not only has a cheaper base level and the same minimal and intuitive user interface, but also more powerful servers for the same price. The only...
File permissions, by default on a website, should be 644 for files and 755 for folders. If for some reason you have changed them or if some plugin or module has created directories with different permissions, just run this command from the root directory (www, public_html, htdocs, httpdocs...) to change...
For those who have never used it, CSS is great, it is a style language (not programming) that allows us to make web pages more beautiful. It allows us to indicate colours, width, height, images, positions, font sizes, everything that has to do with design! CSS has evolved a lot...
Tokens represent an inline replacement when evaluating or rendering text. In Drupal, the Token module dates back to Drupal 4.xand still exists for Drupal 8 (and Drupal 9). This has long been the backbone of powerful features in Drupal, such as user-configurable dynamic aliases with Pathauto, robust meta tag control...
I recently upgraded our local Docker development stacks to use Traefik version 2. Traefik is an edge router application that makes configuring services and routes fairly simple. I found the process of enforcing HTTPS traffic to be a bit challenging and required much more effort than Traefik version 1. All...
Drupal 8 comes with a Diff component in core. It is mainly used to display configuration changes or content revisions. However, it can be used in other ways as well. Here are some quick steps to show how to use the Diff component in your custom forms or controllers. One...
Have Any Project in Mind?
If you want to do something in Drupal maybe you can hire me.
Either for consulting, development or maintenance of Drupal websites.