...

Drupal

How to make patch file drupal for contributed or custom modules.

Following Links will Helps you to do same.https://www.drupal.org/node/534548http://tylerfrankenstein.com/user/4/code/create-apply-patch-drupal-module

...

Command line

Check the size of folder, files and directories using SSH

Following commands(In Bold) used for different purpose  1. Use df -h For check out the used space, free space and total space From all the partitions…

...

Command line

Search word or file Using SSH(Putty)

Fastest and efficient way is to use grep command For search in a file :grep "wordtofind" config.php For search the word and get list of files form…

...

Other

List of all countries

Here is the GitHub Link that helps me to get the list of countries at once May it helps to you also https://gist.github.com/Keeguon/2310008 Thanks

...

Drupal

Drupal 7 Multisite setup

Here is some links will helps to create a multisite of drupal 7  1. https://www.ostraining.com/blog/drupal/drupal-multi-sites/ 2. https://www.…

...

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

...

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…

...

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

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…