Blog Archive: November 2013
Drupal: Sending Confirmation Emails from Your Webform
Today, I encountered a problem that at first seemed like a pain, but in the end, turned out to be simpler than I thought. I needed to send a confirmation email to the submitter of a webform, letting them know that their email had been received, along with some plain text instructions.
A while back, I wrote about how to add a contact form to Drupal, and today I want to share with you how to send a confirmation email to the submitter.
This is the screenshot for webform I have on my site. As you can see, I have a field called - Your email. Now if we go to E-mails tab, we can add some componet to send confirmation mesagge to value of email field:
Click next to Component value, and choose…
How To Upgrade Drupal 6 to Drupal 7: Step by Step
Before proceeding with the upgrade, it's important to make a backup of your Drupal 6 site. This includes both the database and the files. This will ensure that you have a restore point in case anything goes wrong during the upgrade process.
Once you have made a backup, it's time to put your Drupal 6 site into maintenance mode. This will ensure that no users can access the site while you are upgrading. To do this, go to the site maintenance page (admin/settings/site-maintenance), select "Off-line" and save the configuration. If you have defined a custom maintenance theme in your settings.php file, it is recommended to comment it out before proceeding.
Next, disable all non-core modules.…
Configuring Nginx to Display 404 Page for Unconfigured Domains and Server IP Address
In today's digital age, it is crucial for website owners to have a properly configured web server.This not only ensures a smooth and seamless user experience but also protects the website from potential security threats.One common issue that website owners face is incorrectly indexed links in search engines like Google. In this article, we will provide a simple guide on how to configure Nginx to display a 404 page for unconfigured domains and your server's IP address.The first step in this process is to create a dummy or default domain folder. This folder will serve as a redirect for all incorrect requests made to the website. To create this folder, open the terminal and enter the following…
Improve User Experience with Image Hover Effects for Drupal Thumbnail Images
Drupal is a powerful and flexible content management system that enables you to create visually appealing and engaging websites. One way to enhance the visual impact of your Drupal site is to add image hover effects to your thumbnails.
In this article, we'll explore how to use Drupal to create image hover effects for thumbnails.
Step 1: Install and Configure the Image Hover Effects Module
To create image hover effects for your Drupal thumbnails, you'll need to install and configure the Image Hover Effects module. This module allows you to apply a variety of hover effects to your images, including zoom, rotate, flip, and more.
Once you've installed the module, you can configure it by…
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…