BlogBuild notes
Technical decisions, working patterns, and lessons from building real Drupal products. Find the problem you are solving and start there.
AMP integration to Drupal. Advanced level
Latest thinking
AMP integration to Drupal. Advanced level
For both average users and developers, mobile web can be slow and really frustrating experience. Since most of us are surfing Internet using our mobile devices, it became inevitable for companies to improve their websites’ load speed. AMP …
Generating screenshots in Drupal 8 with screenshot_widget
Almost half a year ago, we’ve published a tiny Screenshot Widget module on Drupal.org. And I’ve just realized that we’ve never posted any manual or at least an announcement about it. Now it’s time to fix this. As it is seen from the name,…
How to configure Drupal Commerce for Google Shopping
For those who are unfamiliar with Google Shopping, it is a search through e-commerce products. Similar to what we have as Images search or Google News. In our case, we will talk about Google Shopping Ads, which allows advertising your e…
Product Builder. Part #1. Custom Pizza Builder
It’s been already two months since we released the Product Builder module. We did it without any kind of user documentation. No surprise that the only issue we’ve got on Drupal.org was something like: “Guys, I need this module, but have no…
Product Builder Release
Almost six months ago I attended a Drupal Camp Wroclaw as a speaker presenting the Product Builder approach to products customization in Drupal commerce. And finally, we’ve released the module on Drupal.org.
Code snippet: Getting all Drupal nodes without a URL alias
Sometimes may happen that a few of your thousands of nodes do not have URL aliases. Obviously, you can regenerate paths using the pathauto, but it may cause damage changing the existing URLs. Also, if you have hundreds of thousands of…
Drupal custom pager and table header sortable without SQL query
There are cases when an array of information should be separated and displayed by page without extending the query like this. $query->extend('PagerDefault')->limit($pager). $query->extend('TableSort')->orderByHeader($header).
Custom views filter plugin in Drupal 8
As you may notice, views architecture has a lot of changes since the Drupal 7. Views handlers became plugins, “theme information” link is no longer available and config now stored in standardized .yml files instead of “Views export”…
Ronald's digest. Ep 3
Hello friends! The new digest episode is on the plate. It will be covering two autumn months, which were full of news and interesting events.