Drupal Development

<p>Looking for an experienced Drupal developer for your next web project or mobile app? Look no further than Reinis Fischer! With over 10 years of experience serving small and medium businesses in Tbilisi and Riga, Reinis is your go-to expert for all things Drupal. <a href="https://www.reinisfischer.com/about">Contact him today</a> to learn more or check out his latest Drupal-related blog posts below.</p>

File Permissions for gmap_markers.js

| 3 views

Time after time I'm facing this issue with gmap markers. As mostly this happens when I'm doing something on the server side with file permissions, I decided to keep the notes here is the problem GMap is unable to save the marker bundle, so the markers will not work. Please check file system permissions of the public://js/gmap_markers.js! Here is the solution sudo chmod 755 /sites/all/files/js/gmap_markers.js


Simple CSS trick to Make Table Responsive

| 15 views

Working on the OptionsBrew.com project (website is powered by Drupal 8) I faced the following responsive table issue while browsing content with a table on smaller screens (phone) Broken Table on a smaller screen Luckily there is a simple CSS workaround: in the .css file add the following to table properties: display: block; overflow-x: auto; like this: table{ border-collapse: separate; border-spacing: 0; width:100%; margin: 25px 0 40px; display: block;…


Drupal 7 Fix: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.

| 361 views

I was migrating Drupal 7 website to a newer infrastructure (PHP 7.4) and during the migration process when tried to connect to the MySQL database  I faced following error - SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'. Here is the error code: Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider. Failed…


How To Block IP Address in Drupal 8

| 50 views

Unlike in Drupal 7 version where IP banning is enabled by default, with Drupal 8 version, there is one more step added - IP banning must be enabled from the extend section. Here is how. (source) Log into your Drupal 8 admin interface. From the top menu bar, click on the menu tab and then the Extend tab from the second menu bar. You are now on the modules list page. The Ban module is listed under the Core category. To enable it, simply click on the checkbox to the left of the module. Once…


Fix for Drupal 'Social Share Counter' module - Facebook Counter Not Working

| 0 views

I have been using Drupal's Social Share counter module for some time already. It worked great until recently it stopped and all posts were showing 0 shares. After a quick research on the modules issue page, I found the solution: Facebook share counter not working Facebook has changed its API recently, so the URL http://graph.facebook.com/?id=URL, which is used by the module no longer works and the share counter is always 0. There is also a patch provided to fix this issue: diff --git a/…


How To Merge Vocabularies on Drupal (Taxonomy Manager)

| 16 views

A couple of years ago I launched the Piece of Life project in the frames of this blog. The idea was simple - instead of building a separate website for our photo stories, incorporate it in already established blog After a quick brainstorming  - it was realized using additional content types and vocabularies I decided to run this project as a separate entity inside the frames of my blog for two reasons: Firstly, I'm an author of about 50% of images made for Piece of Life, so yes I have a…


How To Upgrade Drupal 7 to 8 (With Multilingual Support)

| 5 views

Here comes another article, which has been in the blog's draft section since the start of 2017. In this article, I will share my notes on performing a major Drupal upgrade from 7 to 8 with multilingual support. As a Drupal developer, I've been pretty conservative and don't rush for upgrades just because of upgrades, but here I was working with a website which was almost 8 years old (built from scratch on Drupal 7 in 2011) What I don't like when upgrading from Drupal 7 to 8, is that the…


Drupal 7 Rules: Send E-mail to User Referenced by NID After Saving Content

| 6 views

A time ago I started to work on a custom Drupal powered translation management system, unfortunately as I didn't have much spare time and actually there are really great alternatives (paid) out there - I decided to postpone this project. Despite the project wasn't actively developed, it was though running a separate Linode VPS for it (which costs money), I decided to delete this instance to save money, but before that, I decided to keep at least one interesting feature I figured out - how to…


How To Embed YouTube video in Drupal 8 (CKEDITOR)

| 22 views

Now, there is one more reason I'm starting to enjoy Drupal 8, embedding YouTube videos in articles now are super easy, thanks to the simple and neat Drupal module - Video Embed Field In this article, I will guide you through how to configure Drupal 8 built-in CKEDITOR to work with this module. For another interesting YouTube module for use in Drupal views see Display YouTube videos on Drupal site with YouTube field module Video Embed field creates a simple field type that allows you to embed…


How To Configure Trusted Host settings for Drupal 8 Website

| 6 views

In today's Drupal tutorial series I will talk about Trusted host settings, what they are and how to configure them. In short, Trusted host settings protects against HTTP HOST Header attacks (prevent your site from thinking it is someone else). Drupal 7 added a new feature into the core that is not user-facing directly but is sometimes called poor man's cron. The feature triggers the periodic tasks of a Drupal site like emptying log files, sending e-mails, and clearing out caches. This feature…