[Theory] How to Migrate a Drupal 7 Website to a New Server with Cpanel

Submitted by Rajasekhar on Sat, 11/17/2018 - 19:14

Steps to migrate the website are:

  1. Create a backup of the website from the existing server

    1. Create a zip file of the source folder

      1. Note: You may have to check with the person/team that handles the older server.

    2. Take a database backup of the website using backup & migrate module of Drupal.

      1. Note: If you do not have permissions, you may ask a person/team that handles the old website.

How to auto-generate title in Drupal 7

Submitted by Rajasekhar on Sat, 11/17/2018 - 19:10

Install and enable the module Automatic Nodetitles

Edit the content type for which you need to enable the automatic title generation

Add a new field 'Title(Optional)' .

In the edit page of content type, click 'Automatic title generation' and enable the option you need and give the pattern for title generation

Save the content type.

When you create a content, provide value for the title(optional) and it will generate the title 

Tags

How to Add Images Within the Content using Insert Module

Submitted by Rajasekhar on Sat, 11/17/2018 - 19:07

There are two ways to insert images into the content. If we want to just display an image at the top of the content, we can use the default image field of Drupal content types.

But to add images within content, we have to install 'insert' module.

Setup:

  1. You need to install the module and enable it.

  2. Enable insert button and configuration by going to the image field setting for the content type (e.g. blog).

After enabled, now we can insert images using below steps.

[Practical P-3] Setting Up Drupal 8 In Local Using Acquia Dev Desktop part 3 - Post Install Configuration

Submitted by Rajasekhar on Sat, 11/17/2018 - 18:54
  • Click on the local site link (See the last image of the page), you will get Drupal configuration page, Choose the language and click on Save and continue. See Step 1
  • Select profile, Save and continue. See Step 2
  • If you got warnings to check out theory and page down we have option continue anyway. Click on it and installation will start now. See Steps 3 and 4