Install Drush on your sever with Composer (without bleeding)

Follow this steps on your ssh command line with root access.

Step1. Install Composer Globally - One Drush for all Projects

Adding Captcha to your webforms

we want add captcha to our webform, for example your webform node ID is 100.

Just add webform_client_form_100 in your captcha module Form protection section.

Change password from Drush

Run command in your drush

drush upwd --password="mynewpassword" admin

The last word is your username "admin".

Pass URL string to Webform field

Set a default value for each field on your webform. The default value you would use would be

For Webform v4+:

Clear cache using Drush

To clear all cache use the following command:

  1. drush cache-clear all


Embed module's block in block

Password Separate Form

The Password Separate Form module provides the separate password change form. By default it comes with user account page that little bit confusing for end users. This module would help to make this form as a separate form to help end users, there is no need to change these fields every time if you are editing some other fields on user account page.

Hide & Print in .tpl files

Use this code to hide a specified field in Drupal theme files ".tpl "

Translatable Text

Use sample code to translate any field label in multi language websites.