Drupal 8 Theming with Twig master Drupal 8's new Twig templating engine to create fun and fast websites with simple steps to help you move from concept to completion

Master Drupal 8’s new Twig templating engine to create fun and fast websites with simple steps to help you move from concept to completion About This Book Create beautiful responsive Drupal 8 websites using Twig Quickly master theme administration, custom block layouts, views, and the Twig template...

Descripción completa

Detalles Bibliográficos
Otros Autores: Chumley, Chaz, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham : Packt Publishing [2016]
Edición:1st edition
Colección:Community experience distilled.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629968006719
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Setting Up Our Development Environment; Installing an AMP (Apache, MySQL, PHP) stack; Introducing MAMP; Downloading MAMP; Installing MAMP; A quick tour of MAMP PRO; General settings for MAMP PRO; Host settings; Installing Drupal 8; Downloading Drupal 8; Creating our document root; Creating our host entry; Creating a new database for Drupal; Using phpMyAdmin; Completing Drupal 8 installation; Choosing a language; Choosing a profile; Verifying requirements
  • Database configurationConfiguring the site; Site maintenance account; Regional settings; Update notifications; Reviewing the new admin interface; Exploring the admin menu; Previewing the interface; Exploring Drupal 8 folder structure; The core folder; The modules folder; The sites folder; The themes folder; Using the project files; Downloading and extracting the exercise files; Database backup; Export settings; Database restore; Using Google Chrome to inspect elements; Summary; Chapter 2: Theme Administration; What is a theme?; Exploring the Appearance interface; Drupal's core themes; Bartik
  • SevenStark; Classy; Theme states; Installed themes; Uninstalled themes; Default theme; Installing and uninstalling themes; Step one - installing a theme; Step two - uninstalling a theme; Theme settings; Toggling the display of page elements; Logo image settings; Shortcut icon settings; Theme-specific settings; Using prebuilt themes; Installing a new theme; Installing from a URL; Uploading a module or theme archive to install; Manually installing a theme; Cleaning up our themes folder; Managing content with blocks; Exploring the Block layout; Blocks and regions; Demonstrating block regions
  • Placing blocks into regionsConfiguring a block; Managing the title; Managing visibility settings; Content types restriction; Page restriction; Role restriction; Creating a custom block; Managing custom blocks; Exploring the custom block library; Exploring block types; Managing fields; Managing display; Summary; Chapter 3: Dissecting a Theme; Setting up a local development environment; Managing sites/default folder permissions; Configuring settings.local.php; Disabling CSS and JS aggregation; Disabling render and page cache; Disabling test modules and themes
  • Default themes versus custom themesFolder structure and naming conventions; Managing configuration in Drupal 8; Reviewing the new info.yml file; Metadata; Libraries; Defining a library; Attaching a library; Regions; The role of templates in Drupal; How templates work; Where to find templates; Creating our first basic theme; Step One - creating a new folder; Step two - create an info file; Step three - copy core templates; Step four - include a screenshot; Step five - installing our theme; Step six - Welcome to Twig; Introducing Twig; Enabling Twig debug; Twig fundamentals
  • Commenting variables