Submitted by admin on Fri, 04/28/2017 - 06:20
Drush can be one of the nicest tools to have, when you want to speed up quite a lot of your daily Drupal operations.
Here are some of the usages I've come across, for Drupal 7:
Clearing cache:
# clear all caches
drush cc all
# rebuild caches
drush cr
Download and enable modules:
# download module modulename
drush dl modulename
# enable a downloaded module
drush en modulename
# to skip the Yes or No confirmation questions:
drush -y en modulename
Submitted by anto on Fri, 10/17/2014 - 03:15
Setting up, upgrading and maintaining a clean and functional Drupal/PHP Development environment is an art, and quite a piece of cake for the skilled sysadmin. But the ever changing versions of OS packages and dependencies can bring up quite some unexpected challenges to a budding developer. Here is the solution to one such error that might eat your brains out.
Almost all usable versions of Drupal - 6, 7 and 8 - use PECL uploadprogress to show file upload progress.
And installing it on previous Ubuntu, PHP versions was as easy as running the following command:
Submitted by anto on Wed, 01/02/2013 - 07:07
The Workflow module in Drupal, as part of its Rules module integration, allows you various rules based actions, of which one commonly used one is the action to change the workflow state from state to another. But that one doesn't have an option to set the comment for that state change, which can be quite useful when you see the Workflow History of a node.
I have created a patch for the latest dev version (7.x-1.0+20-dev) of the Workflow module to help you with that:
Submitted by anto on Thu, 11/08/2012 - 23:35
My first Drupal core patch, that corrects a repeating "have to" in one of the function comments in system.api.php, has gone live in today's Drupal 7 release (version 7.17).
Here's the Issue Post on Drupal.org:
http://drupal.org/node/1802844
:-)