Drupal 8 Development: Beginner's Guide

Sub-title: 
Explore the new features of Drupal 8 through practical and interesting examples while building a fully functional recipe sharing website
Publisher: 
Packt Publishing
Publication date: 
2016-07
Page count: 
398
ISBN-13: 
978-1785284885

Drupal is one of the most popular platforms with which to develop websites. With more and more organizations looking to build engaging digital experience for their stakeholders, the Drupal Content Management System offers a mobile-first platform with native support for integrations, better performance, and scalability. The new version brings significant changes to its module development and theme creation techniques, improving performance and refining the development experience.

This book will help you develop your own website using Drupal 8 in a step-by-step manner. You’ll start off by setting up your development environment, enabling you to begin writing custom code for a Drupal-powered website through PHPStorm. You will learn about configuration management and creating custom content types before exploring the HTML5 features included with Drupal 8.

You will then get familiar with Drupal 8’s mobile-first features, explore the built-in WYSIWYG and in-line editing capabilities of Drupal 8, and enhance the overall authoring experience. Later, you will create and enhance a Media Entity Lightbox module, before taking an in-depth look at the Views module.

We then cover some advanced search concepts and walk you through the installation and integration of the Java-based Apache Solr search engine. Finally, you will explore and configure the built-in support for REST and extend its support by installing the RESTful module. By the end of the book, you will have created a recipe sharing website while gaining a solid understanding of development best practices for Drupal 8.

What you will learn

  • Set up your Drupal development environment
  • Brush up on your understanding of the concepts of object-oriented programming, module development, and test-driven development
  • Install and configure Drupal, add new content type, and work through lot of dummy content to create listing pages using views
  • Enhance the content author’s user experience and custom block
  • Find out about field Type API and explore custom theme development
  • Manage various media types in Drupal for your content-rich website

Imagefield Slideshow

Overview of the Module:

Provides a Slideshow formatter for Image fields, using JQuery Cycle plugin.

This module is developed specifically to render the slideshow from the image field.
Imagefield Slideshow module will provide a field formatter for image fields, so that multiple images are uploaded to that particular image field and the formatter helps you to render those images a slideshow.

Potentially the administrator would be able to change the rendering settings of the slideshow like transition effects and image size to render.

Realname: Remove 15 characters username trim

In case your user has long realname (15+ characters), such username will be trimmed to 15 characters and "..." added by default. If you wish to have displayed full name instead the trim version then place this code (D7) into your template.php:

/**
 * Overrides template_process_username().
 */
function THEMENAME_preprocess_username(&$variables) {
  $account = $variables['name_raw'];
  $variables['name'] = check_plain($account);
}

Contacted by the LWG. Now what?

Tasks that belong under the LWG Specific Duties are handled publicly, as an issue in the LWG issue tracker. One of these tasks is to enforce Drupal.org Git repo licensing policies on contributed code/assets.

Pages

Subscribe with RSS Subscribe to RSS - Designers/themers