Latest posts

Browse topics

Dauphinoise potatoes

Time by time, I like to experiment with food preparation, this time I decided to make a Dauphinoise potato, inspired by BBC Good Food recipe. 

As it might happen, it happened this time as well - I didn't stick to BBC food preparation methodology.

What did I do?

I sliced potatoes, made a bechamel sauce. Took a pan, made the first layer with bechamel sauce, few rows with sliced potatoes, again bechamel sauce, salt, and pepper, again sliced potatoes. Actually kinda a lasagna from potatoes, right?

Baked for about 1 hour at 200° C... at the end added cheese for toppings.

I liked it. Good with some meatballs. 

Display YouTube videos on Drupal site with YouTube field module

Recently I started a new topic series - documentaries, where I publish documentaries I have watched and recommend to watch others. I write a brief description of what each documentary is, and then I embed a YouTube link to show a video on my blog. 

How To Embed YouTube video in Drupal 8 (CKEDITOR)

But lately I started to think of creating my own Screen-casts, and the idea of embedding a video on content didn't satisfy me anymore.

What I wanted - to populate a video in the field, so later by using views I can display video on top of content, not in the content:

 

To achieve this, I just needed to add one small module and create a new view.

  • Download YouTube module
  • Extract it to sites/all/modules
  • Enable it from modules page
  • Add a new YouTube field to your Content type field

I will not write this time how to create a view containing your video, it's too straightforward if you are familiar with views, if not, please leave a comment below, and I'll guide you through in some of my next posts.

Upgrading Your Drupal 7 Site: Tips and Tricks for a Smooth Transition (Minor Upgrade)

Upgrading a website can be a daunting task, especially if you're not familiar with the process. But upgrading your Drupal site is necessary for security, bug fixes, and new features. In this article, I'll be discussing the process of upgrading a Drupal 7.10 site to the newest version of Drupal, a minor upgrade.

Before you start, it's important to understand the difference between a major and a minor upgrade. A major upgrade, such as upgrading from Drupal 6 to Drupal 7, involves significant changes in the codebase and can result in breaking your site. A minor upgrade, on the other hand, is a more straightforward process that brings small updates and bug fixes to your site. In this article, we'll be focusing on the latter.

The first step in upgrading your Drupal 7.10 site to the newest version is to back up your entire Drupal system, including files and database. This is crucial in case something goes wrong during the upgrade process. You can use a backup module, such as Backup and Migrate, to create a backup of your site. Make sure to store the backup in a secure location, such as an external hard drive or cloud storage.

Once you have a backup of your site, it's time to upgrade. The process of upgrading a Drupal 7.10 site to the newest version of Drupal involves two steps: updating the codebase and updating the database.

To update the codebase, you can use the manual method or the drush method. The manual method involves downloading the latest version of Drupal from the official website and uploading it to your server. Then, you'll need to copy the settings.php file and the files directory from your old site to the new site. Finally, you'll need to run the update.php script to complete the upgrade.

The drush method is a more efficient way to upgrade your site, as it automates the process. If you have drush installed on your server, simply run the following command:

drush up drupal

This command will update your Drupal site to the newest version.

Once the codebase has been updated, it's time to update the database. To do this, you'll need to log into your site as an administrator and run the update.php script. This script will perform any necessary database updates, such as updating the schema and data structures.

It's important to note that the update.php script should only be run once. Running it multiple times can cause issues with your site.

After the update.php script has been completed, you'll need to clear the cache and check your site to make sure everything is working as expected. If you encounter any issues, it's important to address them immediately. You can use the backup you created earlier to restore your site if necessary.

In conclusion, upgrading your Drupal 7.10 site to the newest version of Drupal is a straightforward process that can bring many benefits to your site, including security, bug fixes, and new features. By following the steps outlined in this article, you can ensure a smooth upgrade process and avoid any potential issues. Remember to always back up your site before upgrading and to address any issues as soon as they arise.

Georgian Fishing tours: Jandari lake

I first met Giorgi from Georgian fishing tours back at the end of 2013, when we did a fishing tour at Jandari lake organized by his company. I noticed a free fishing tour offer on their Facebook page. I claimed that offer and I was the lucky to actually get a free fishing tour. Make sure you follow their Facebook page as well - who knows, maybe more such offers will follow. If not - price for such tours are not very expensive and is worth of every tetri spent.

So, that's how I get familiar with Girogi and his friend Temo from Georgian Fishing tours. Couple of days later a fishing tour to Jandari lake near border of Azerbaijan was organized.

Girogi arrived to our apartment at around 4AM in his 4x4 wheel Nissan car, he had prepared spinnings, nets, bait and all the rest what is necessary for a decent fishing tour, we just took a waterproof clothing, boots and some snacks.

We arrived on site about after an hour drive (which led us through Rustavi town). It was still dark and I had an option to capture sunrise over Jandari lake

Sunrise over Jandari lake

Sunrise over Jandari lake

I was limited to my old Sony DSC camera (bridge camera), which was still able about two years latter post - post - processed in Adobe Lightroom get me a decent exposures from here. See: Digital photography school 

Dozens of cows at Jandari lake

Dozens of cows at Jandari lake

From the left: Giorgi, author of this blog and other fishermen

From the left: Giorgi, author of this blog and other fishermen

I'm not addicted fisherman, so I don't know much about fishing actually, Giorgi was keen to give me a quick lesson on basics, like how to throw spinning correctly in the water and so on...

Fishermen boat in Jandari lake

Fishermen boat in Jandari lake

Author of this blog captured in action

Author of this blog captured in action

4x4 wheels

4x4 wheels 

To get here to Jandari lake, a 4x4 wheel is a must have. Georgian Fishing tours had that Nissan SUV car .

Water reflections on Jandari lake

Water reflections on Jandari lake

Author of this blog captured in action

Author of this blog captured in action

The bottom line

Cows, a lot of fish, homemade vodka (chacha) and plenty of great emotions. Our catch that day - about 8 kilos of fish (most of our catch was actually caught  by Girogi and his friend, we got the cath as a present - that's what passionate fisherman does - they catch the fishes, they don't eat them)

Thank's Giga and Temo for such a wonderful expierence!

Learn more about tours: Georgian Fishing Tours or Facebook

Filtering Popular Posts on Drupal: How to Filter by Time Frame with Views

In a previous tutorial, I showed how to use Views to filter popular posts on a Drupal site. Today, I will demonstrate how to filter popular posts within a specific time frame, such as a week or a month.

Note that this tutorial will only apply filters to the most viewed nodes based on their publishing date, not to all nodes within a certain time frame.

If you haven't already set up a popular blog post View, please refer to the link above and follow the steps to create your View.

To begin, open your popular blog post View and add a new filter under the "Filter" section. Select "Content: Post date" and choose "Operator: is between" in the filter settings.

In the "Min" field, enter the time frame you want Drupal to filter, for example, if you want to filter posts from the last 10 days, enter "-10 days" as the offset. In the "Max" field, enter the current time to ensure that future posts are not included in the filter.

If you have any questions or issues with this process, please leave a comment below and I will be happy to assist you.