In this blog post, I discuss a task where I needed to display multiple fields from a specific content type in a single Drupal View. To achieve the required design, I created a custom Twig template and used Tailwind CSS for styling. However, I faced an issue where field values were being repeated incorrectly. After some debugging and research, I found a workaround.
Setting up GeoIP on Drupal 7 and Drupal 10, 11 4 minute readThis post explains how to integrate MaxMind GeoIP in Drupal 7 and 10/11 using the GeoIP module. It includes API differences, cache configuration for dynamic blocks, and how to update GeoIP databases using a bash script and geoipupdate, ensuring the latest IP data is synced with your Drupal site.
"Field entity definition" error when upgrading Drupal 9 3 minute readThis post shows how to fix entity and field definition mismatch errors in Drupal using the Entity Update module. After installing it, some database errors appeared due to missing columns. The solution was to manually add the missing fields via SQL, rerun the update, and confirm the error was resolved.
Drupal 9 - composer update causes drush php Cannot redeclare error 1 minute readAfter updating Drupal 9 from version 9.3 to 9.5, a bug caused Composer to install files in the wrong directory, breaking the site with a redirect to the install page. The issue was fixed by deleting vendor and composer.lock, adjusting the composer.json config, and running composer install.
Translation of a text fragment in October CMS is not created, rainlab translate plugin 1 minute readIn October CMS with the RainLab Translate module, translations stop working for messages around 200 characters. Each page refresh creates duplicate entries. The issue is caused by a database column limit. Manually increasing the "code" column size in the database resolves it.
How to migrate a corporate website-store Wordpress + Woocommerce to October CMS + oc-Mall 7 minute readThis post shares a developer’s journey from Laravel to October CMS, and now to Winter CMS. It covers setup steps, recommended plugins and themes, and how to migrate content and blog posts from WordPress. The post also explains configuring a local dev environment, building a store, and exporting static pages with a semi-automated script.