Drupal tutorial

How To Embed YouTube video in Drupal 8 (CKEDITOR)

| 26 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

| 11 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…


How To Setup Google Analytics For Drupal 8 Website

| 7 views

Setting up Google Analytics for a Drupal 8 powered website is as simple as it is with Drupal 7 website, luckily for us, there is a small and neat module doing the hard work for us. Google Analytics is one of the essential modules to have for any website, see: Building Drupal 8 Website From Scratch - Part 3, Essential Modules (Pathauto, Google Analytics, Disqus) I have been using Google Analytics to track my website performances more than 10 years ago, and without it, I would be like blind.…


Building Drupal 8 Website From Scratch - Part 2 (Content Types, Custom Fields, Manage Display)

| 0 views

In the second part of the series Building Drupal 8 Website from the scratch I will cover details on working with content types and node displays. Make sure to check out part 1, before proceeding. When comparing Drupal 7 to Drupal 8, there is little difference regarding managing content types, except most of the cool features we have been used to have in Drupal 7 by using additional modules and fields, are already built in Drupal 8 core. Which is amazing. In Drupal 8, fields, like taxonomy…


Building Drupal 8 Website From Scratch - Part 1 (Domain name, Hosting)

| 2 views

It has been a while since Drupal 8 has been around. It took me some time before I actually started to develop Drupal 8 websites, sticking with more convenient Drupal 7 (Which I believe still is one of the best versions of Drupal out there.  If you are familiar with Wordpress CMS, Drupal 8 will feel you comfortable, as the look and feels is pretty similar (This is the thing I don't like about Drupal 8). Anyhow, as I have been developing both Drupal 7and Drupal 8 websites, there is actually no…


How To Hide Tabs On Drupal 8 Content and User Pages

| 0 views

In Drupal 8 there is a quite easy way to to hide tabs view both on content and user pages. The best there are no hook, modules or complicated theme rewrites involved. In today's short Drupal tutorial series I will provide a simple workaround out of the box on how to hide tabs both on content and user pages in Drupal 8. Also see: Theming Drupal 8: How to Hide Site Name What at start seems like a simple issue, might turn out to be a imminent problem. The truth is - it's super simple, but still…


How To Enable Custom Google Fonts For Drupal 8 Website

| 1 views

There are several options how to enable custom fonts for Drupal 8 website, in this article I will stick with one of the easiest - using a custom module - @font-your-face As usual, for this Drupal tutorial I will use a real-time scenario: For Tourgeorgia.eu website I'm using custom Premium theme adapted for Drupal 8, at one stage I noticed that example theme looks better than customized, and then I realized we are missing few fonts, which must be loaded manually. As, said there are several…


Drupal 8 Minor upgrade using Putty SSH Terminal

| 0 views

In this article I'll shed some light on how easy it is to perform a minor Drupal 8 upgrade between versions using free Putty SSH terminal and just a few lines of code.  I assume your Drupal is configured under a VPS (take Linode, for example) and your installation path is /srv/www/ See: How to upgrade Drupal 6 to Drupal 7 - Process , Upgrading Drupal 7 (minor upgrade) Drupal security updates By accessing available updates page (admin/reports/updates/update) we can easy update modules by…


Drupal 8 Custom Taxonomy Term Pages with Views

| 59 views

By default, out of the box, Drupal taxonomy term pages are styled kind of ugly, but with the help of just a few simple tweaks, we could style them as we wish, just by using CSS. In today's Drupal tutorial series, I will provide a simple how-to on how to create custom Drupal 8 taxonomy term pages using views. Luckily, you won't need to install any additional modules, as in Drupal 8, views are already built in the core, and if you are already familiar with how to style taxonomy term pages in…


How To Insert Node Reference in Content Using Views

| 4 views

I this article I'll cover some details on how to programmatically reference nodes in content using Drupal views. Such behavior I've already implemented in this blog, see for example 83 reasons to Visit Georgia This year article to see it in action. Today I was working on one of my side projects - a laptop buying guide - laptop500.com and decided to implement a new feature - best selling items of the month, by programmatically referencing laptops (nodes) from archive. Here is how - at start…