Difference between revisions of "Drupal/cheatsheet"

From Freephile Wiki
Jump to navigation Jump to search
(Created page with "My current (as of {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}) setup is Static/CGI/PHP-5.4 Take site offline <source lang='bash'> drush vset maintenance_mode 1 </source...")
 
m (added Category:Drupal using HotCat)
 
Line 34: Line 34:
 
drush dis admin_menu,backstretch,ctools,features,mollom,seo_checker,socialmedia,token,xmlsitemap
 
drush dis admin_menu,backstretch,ctools,features,mollom,seo_checker,socialmedia,token,xmlsitemap
 
</source>
 
</source>
 +
 +
[[Category:Drupal]]

Latest revision as of 17:57, 7 April 2015

My current (as of 2024-11-21) setup is Static/CGI/PHP-5.4


Take site offline

drush vset maintenance_mode 1

get a status and use --debug to get a bit more info about what drush is doing

drush --debug status

Check system requirements

drush rq

Clear all caches and then run database updates

drush cc all
drush --debug updb


List all the enabled modules (and themes). Add the --pipe -p option for compact output

drush pml --status=enabled

Disable a bunch of stuff all at once (and let Drupal figure out the dependencies that also need to be disabled.)

drush dis admin_menu,backstretch,ctools,features,mollom,seo_checker,socialmedia,token,xmlsitemap