在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,有一个很好的答案,描述如何在数据库中更改你的网站的公共主题这里 ...我只是无法得到它来更新我的管理主题。
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}表中找到主题列表,按type =主题过滤,可以设置状态= 1
可以在{variable}表中找到默认主题,按名称= theme_default过滤,将其更改为主题名称,因为它是在系统表中写出的(例如,花环,而不是加兰)。这个清除缓存表。
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屋!