![]() In this tutorial, we walked through downloading, installing, and uninstalling a theme in Drupal. And you should notice a that the Appearance page now uses the theme you selected as an administrative theme. You should see a message at the top of the page that says, The configuration options have been saved. Select Save configuration to save your changes and use the new administrative theme. However, should you want to change it, you can do so by following these steps. It may also be used for adding content and editing pages.īy default, Drupal uses the Claro administration theme that comes with core. Instead, administrators want an interface that allows them to quickly and easily accomplish administration tasks in a consistent and user-friendly way.ĭrupal allows you to designate a separate theme as the "administration theme." This theme will be used when displaying any administration pages - for the most part, anything that starts with admin/ in the path. Generally, you don't need the same flashy interface for your administrators as you do for your users. In most cases you're likely to only have two themes installed: one used for the end-user facing portion of your website, and an administration theme. For most sites, the default theme is the one that the general public will see when visiting the site. It's possible to have more than one theme enabled at a time, but only one can be the default theme. When you navigate to Appearance ( admin/appearance), you'll notice the page is divided into two sections: installed themes, and uninstalled themes. (Substitute THEME with the name of your theme for example, honey.) Installed vs. Once the theme you want uninstall is no longer the default, run the following Drush command: drush theme:uninstall THEME (Some other theme needs to be installed and set as the default theme.) If you want to uninstall a theme using Drush, first you need to ensure that it is not set as the default theme. You should see a message at the top of the page that says, "The configuration options have been saved." Uninstall a theme using Drush Downloading and Installing a Theme from demonstrates how to download and install a theme from. This video from the Drupal User Guide: 11.5. Using Composer to Download and Update Files ![]() ![]() Downloading a theme from requires using Composer, learn more in 3.5. ![]() Understand how to download, install, and uninstall a theme. Configure our site to use an administration theme for the administrative pages.īy the end of this tutorial you should be able to install a theme and make it the one visitors to your site see by default.Learn to differentiate between installed themes, default themes, and uninstalled themes.Demonstrate how to install a theme and make it the default using both the UI and Drush.Themes that are no longer being used can safely be uninstalled. Once a theme is installed, users of your site will see all public facing page rendered using that theme. Installing themes can be done either via the user interface, or using Drush. This is true whether it's a custom theme you wrote yourself, or a contributed theme you downloaded from. Before visitors to your site will see the pages displayed using a theme the theme needs to be installed and set as the default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |