Cargando…

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

"Drupal 8 is an open source content management system and powerful framework that helps deliver great websites to individuals and organizations, including non-profits, commercial, and government around the globe. This new release has been built on top of object-oriented PHP and includes more th...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Chumley, Chaz (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2016.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
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