You are here

通过数据库方式修改缺省主题(自定义)如何做?

gostore 的头像
Submitted by gostore on 星期五, 2013-03-01 13:45

通过数据库方式修改缺省主题(自定义)如何做?,我忘了如何了,只记得修改三个表,分别variables,system,cache,老葛有链接,给一个,,,我在drupal网站搜索不到,,,,

论坛:

Drupal版本:

g089h515r806 的头像

(1)为什么不通过Drupal后台修改默认主题呢?

(2),从来没有通过数据库修改过默认主题, 应该在这个表variables里面修改。

(3),可以使用drush修改默认主题,命令如下:

drush -l http://example.com/ vset theme_default theme_name

使用drush禁用主题:

drush -l http://example.com/ pm-disable theme_name

使用drush启用Drupal主题:

drush -l http://example.com/ pm-enable theme_name