`
haohappy2
  • 浏览: 326108 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

how to use drupal drush?

 
阅读更多

1.) Enable theme 

drush pm-enable themename


2.) Disable theme
drush pm-disable themename

3.) Show information about the theme
drush pm-info themename

4.) List all theme
drush pm-list --type=theme

5.) List enabled theme
drush pm-list --type=theme --status=enabled

6.) Set default theme
drush vset theme_default themename

7.) Set admin theme
drush vset admin_theme themename

8.) show theme status
drush status theme

9.) drush en -y views

10.) drush dis views

分享到:
评论

相关推荐

    Drupal.8.for.Absolute.Beginners.1430264667

    You will then use Drush to apply a theme to Drupal, customizing everything to your liking, before publishing your work to the world. The book also covers some more advanced topics that beginners ...

    Drupal 8 Explained: Your Step-by-Step Guide to Drupal 8

    Drupal 8 Explained: Your Step-by-Step Guide to Drupal 8 (The Explained Series) by Stephen Burge English | 3 Apr. 2017 | ASIN: B06Y1VN2D7 | 283 Pages | AZW3 | 13.66 MB We're delighted to present the ...

    Drupal.8.Configuration.Management.1783985208

    For more advanced users, the book explains how to use the API to add custom configuration and how to upgrade custom modules to use the new Configuration Management system, covering some essential ...

    the definitive guide to drupal 7

    - **如何使用本书**(How to Use This Book) - 提供了指导读者如何根据自己的需求和兴趣来选择性阅读本书内容的建议。 - **Drupal 的工作原理**(How Drupal Works) - 解释了 Drupal 的基本架构和技术实现方式,...

    Drupal.8.Development.Beginners.Guide.2nd.Edition.epub

    If you are a developer who wants to use Drupal to enhance your website project and web application to manage content, this book is for you. Whether you are new to Drupal or an experienced web ...

    The.Definitive.Guide.to.Drupal.7

    #### 描述:本书为《The Definitive Guide to Drupal 7》(第一版),作者为 Benjamin Melançon,是一本详细介绍 Drupal 7 的专业书籍。 #### 知识点详解: ##### 一、Drupal 7 入门篇 1. **搭建 Drupal 7 网站 ...

    Learning Drupal 6 Module Development

    This book will give you a clear, concise and, of course, practical guidance to take you from the basics of creating your first module to developing the skills to make you a Drupal developer to be ...

    Decoupled Drupal in Practice

    You will learn how to architect and implement decoupled Drupal architectures across the stack―from building the back end and designing APIs to integrating with front-end technologies. You’ll also ...

    drupal的addtoany模块

    Drupal的AddToAny模块是一个非常实用的工具,尤其对于那些希望增强网站社交分享功能的用户而言。这个模块专为Drupal 6设计,旨在提供一种简便的方式,让访客能够订阅、收藏网页内容,并且能够通过电子邮件轻松地将...

    [Drupal] Drupal 响应式主题 开发教程 (英文版)

    Ideal for experienced Drupal developers, this book takes you through RWD basics and shows you how to build sites based on Aurora, Zen, and Omega—three popular base themes created by Drupal ...

    ansible-role-drush:Ansible角色-Drupal的Drush

    在这个名为"ansible-role-drush"的角色中,我们关注的是如何通过Ansible在服务器上安装和配置Drush,这是一个强大的命令行接口(CLI)工具,专门用于管理和操作Drupal内容管理系统。 Drupal,作为一款开源的PHP框架...

    [Drupal] Drupal 7 媒体编程 (英文版)

    Learn how to use HTML5 for responsive web design and semantic websites, and implement a better cross-compatible web application ☆ 出版信息:☆ [作者信息] Liran Tal [出版机构] Packt Publishing ...

    jenkins_github_drupal, 在Github上,通过一个新的拉请求创建一个Drupal站点.zip

    jenkins_github_drupal, 在Github上,通过一个新的拉请求创建一个Drupal站点 概述你是否构建Drupal站点? 你是否使用GitHub来管理这些项目的代码? 你使用Jenkins自动化 持续集成? 那么你应该做所有这些事情 ! ...

Global site tag (gtag.js) - Google Analytics