Reload a module with a drush command in Drupal 7

/Users/user/Applications/drush/drush -y -r /Users/user/Sites/drupal -l http://localhost pm-disable module_name
/Users/user/Applications/drush/drush -y -r /Users/user/Sites/drupal -l http://localhost pm-enable module_name

Note: You have to install drush to run those commands.

You might also like

Clean caches with a drush command in Drupal 7
/Users/user/Applications/drush/drush -y -r /Users/user/Sites/drupal -l http://localhost cache-clear all You...
Configure virtual hosts for XAMPP in Mac OS X
Lets suppose we want to have 2 virtual hosts in our server wich will be accesible via http://web1.com...
Password protect a Location, LocationMatch or VirtualHost in Apache (XAMPP and Mac OS X)
Protecting a Location or VirtualHost in Apache is very similar to protecting a folder as I explained...
Password protect a folder in Apache (XAMPP and Mac OS X)
First you have to create a file with the user and the password to be used with htpasswd: /Applications/XAMPP/xamppfiles/bin/htpasswd...
Leave a comment ?

0 Comments.

Leave a Comment