Blog
As ever-evolving Drupal developers, we've been in the process of moving towards a Composer-based workflow for managing our Drupal project code bases. While it is (usually) an easy leap to move from "drush dl" to "composer require" for Drupal contributed modules and themes, there is another significant opportunity for us...
In news that nobody expected (I don't know if anyone expects this news or not) it turns out that Drupal 7 will continue to be supported in security updates for one more year, until 2022. What is the reason? Apparently to give more time to those who have Drupal 7...
Doing this for a particular order is pretty straightforward. All you need to have is the ID of the coupon code: // This is the ID of the coupon code you want to add to the order. $coupon_id = 1; /** @var \Drupal\commerce_order\Entity\OrderInterface $order */ $order = \Drupal\commerce_order\Entity\Order::load(1); $order->get('coupons')->appendItem($coupon_id); $order->save()...
You can add users to more than one group in Linux, allowing you to assign permissions to files per group. For example, to be able to use administrative programs in Ubuntu a user must be part of the sudo group. CREATING A NEW GROUP If you want to create a...
This is a useful module to make a quick development of simple modules. Link to the project page: https://www.drupal.org/project/module_builder It is recommended for novice people who are not used to program Drupal modules. It is also recommended for expert people, who can use this module to save repetitive work by...
In some cases it is necessary to move a module already installed in Drupal to another directory. To give some examples: You want to have all modules that have some patch applied in a separate directory to facilitate future maintenance.You want to move a custom module that you put by...
The "Migrate" module in the core is one of my favourite parts of Drupal 8 and 9. It's super flexible and makes migrating content from any source you can imagine pretty easy. Today I want to show a trick I use when I receive a csv (or excel file) from...
One of the steps in basic SEO health is to ensure that your website is free of any technical issues that may be preventing your site from being crawled. As a disclaimer, I'm going to refer to Google since it's the biggest search engine right now. But everything I say...
What is your audience? The audience is your target audience, the people you want to reach on your website and make a certain action on it. For example, in e-commerce, the main audience is people looking to buy. If that same e-commerce has a blog where product reviews are made...
Google, as it often does, has made changes to its search algorithms that determine the order of search results: Time on pageBounce rate Time on page is exactly what you think: it's the amount of time a visitor spends on your website. Bounce rate is the percentage of visitors who...
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.