Important Mysql Commands that will we used

MySQL

Important Mysql Commands that will we used with ssh

Commands Access monitor: mysql -u [username] -p; (will prompt for password) Show all databases: show databases; Access database: mysql -u […

Changing the year range in the form's

Drupal

Changing the year range in the form's date element drupal form api

Drupal form api ap usually used to build the custom form to extended the functionality of drupal according to your need. We can change the year…

Bootstrap subtheme dropdown Drupal 7

Drupal

Bootstrap subtheme dropdown Drupal 7

Steps to create sub theme and mutilevel dropdown :- 1. Download the Bootstrap theme from the drupal sites here. 2. Create the subtheme using cdn…

Drupal 7 content type template

Drupal

Drupal 7 content type template

Open the template.php file in your theme for editing. Look for a function called yourthemename_preprocess_page (replace the yourthemename with your…

Important SSH Commands

Command line

Important SSH Commands

Copy folder from one location to another by excluding specified folder .  - rsync -av --progress sourcefolder /destinationfolder --exclude…

Drush Installation

Command line

Drush Installation

Heys, Steps to installing drush using composer on server - login to putty - check the composer is install and working by "composer --version" -…

Send Email using smtp module with Gmail

Other

Send Email using smtp module with Gmail

Here is the link that helps to configure stmp module with Gmail configuration and enables drupal site to send send email using Gmail Account Also…

Html Dom parser to Extract the HTML data

HTML

Html Dom parser to Extract the HTML data from Html page

Html Dom parser to Extract the HTML data from Html page  See the attached Zip file  Also you get the Whole description here LINK

Enable Drupal 8 Error Reporting

Drupal

Enable Drupal 8 Error Reporting

To Enable Drupal 8 Error Reporting, Put This code at top of sites/default/settings.php. error_reporting(E_ALL); ini_set('display_errors', TRUE);…