7

Change Drupal Theme with MySQL

 3 years ago
source link: https://www.devdungeon.com/content/change-drupal-theme-mysql
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Change Drupal Theme with MySQL

Submitted by NanoDano on Tue, 10/16/2012 - 19:23

Manually alter the Drupal theme in MySQL using these commands.

UPDATE system SET status=1 WHERE name = 'garland';
UPDATE variable SET value='s:7:"garland"' WHERE name = 'theme_default';
TRUNCATE cache;

NOTE: There are many cache tables in Drupal 7 that may need to be flushed.

Advertisement


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK