问题描述
我正在学习 php 和创建主题.
I'm in the process of learning php and creating themes.
不幸的是,当我正在编辑我目前在 drupal 中使用的主题时,我在主题中犯了一个错误,以至于没有任何显示,即使我点击了 drupal/index.php.我想将损坏的 Drupal 主题更改为可用的主题,但我无法这样做,因为我什至无法查看管理部分.
Unfortunately, while I was editing a theme that i was currently using in drupal, I made a mistake in the theme such that nothing shows up anymore, even if i were to hit drupal/index.php. I want to change my broken drupal theme to a working one but i'm unable to do so because I can't even view the administration section.
推荐答案
如何通过Drupal.org 上的数据库 页面提供了直接从 SQL 提示更改主题的说明.
The How To reset your theme via the database page on Drupal.org has instructions for changing your theme directly from the SQL prompt.
目前还不清楚这是否适用于最新版本的 Drupal,因此在尝试之前备份您的数据库.
It's not immediately clear whether this will work in the most recent version of Drupal, so back up your database before attempting this.
这篇关于在没有 Web 界面的 Drupal 中切换主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)