直接在数据库中更改 Drupal 6 中的管理主题 [英] Changing the Admin Theme in Drupal 6 Directly in Database
问题描述
我想通过数据库恢复 Drupal 6 中的默认管理主题.有谁知道这个存储在哪里?
I'd like to restore the default admin theme in Drupal 6 via the database. Anyone know where this is stored?
顺便说一句,有一个很好的答案描述了如何在数据库中更改您网站的公共主题 此处 ...我无法使用它来更新我的管理主题.
Btw, there is a great answer describing how to change your site's public theme in the database here ...I just could not get it to update my admin theme.
推荐答案
你可以在{system}表中找到的主题列表,按类型=主题过滤,你可以在那里设置状态= 1
您可以在 {variable} 表中找到默认主题,通过 name = theme_default 过滤,将其更改为您的主题名称,因为它是在系统表中写入的(例如,garland,而不是 Garland).
在此清除缓存表之后.
List of themes you can find in {system} table, filter by type = theme, there you can set status = 1
Default theme you can find in {variable} table, filter by name = theme_default, change it to you theme name, as it is written in system table (for example, garland, not Garland).
After this clear cache table.
这篇关于直接在数据库中更改 Drupal 6 中的管理主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!