Drupal 8 Quick Start Guide - J. Ayen Green - E-Book

Drupal 8 Quick Start Guide E-Book

J. Ayen Green

0,0
19,19 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Drupal is a powerful content management platform, ?exible enough to accommodate almost any content requirements. This ?exibility comes with a cost: complexity. Drupal 8 Quick Start Guide will clear your path from installation to a building usable site in minutes, and to a customized site in one sitting.
You will begin with installation of Drupal and going through the main sections of the Drupal UI. Then, you will create a content type that describes its content, which simplifies the act of creating and editing the actual content later. You will learn about user roles, using real-world examples. This will help you to learn how to design roles, and how to assign appropriate permissions to them. Next, you will learn to use the WYSIWYG editor, configure it for other roles, navigate the various fields on the content creation form, and publish content.
To begin to appreciate the ?exibility and expandability of Drupal, you will make use of popular content-focused modules that extend Drupal's power. You will learn how to expand your market to other readers directly and through other sites by configuring content and UI translations and creating a View that provides an RSS feed. Finally, you will put everything together by customizing the home page for your new website.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 144

Veröffentlichungsjahr: 2018

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Drupal 8 Quick Start Guide

 

 

 

Get up and running with Drupal 8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

J. Ayen Green

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIRMINGHAM - MUMBAI

Drupal 8 Quick Start Guide

Copyright © 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Amarabha BanerjeeAcquisition Editor: Reshma RamanContent Development Editor: Roshan KumarTechnical Editor: Shweta JadhavCopy Editor: Safis EditingProject Coordinator: Hardik BhindeProofreader: Safis EditingIndexer:Tejal Daruwale SoniGraphics:Alishon MendonsaProduction Coordinator:Shraddha Falebhai

First published: October 2018

Production reference: 2021118

Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.

ISBN 978-1-78934-031-0

www.packtpub.com

To Sasha, for making my life so much richer.
– J. Ayen Green
 
mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?

Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

Improve your learning with Skill Plans built especially for you

Get a free eBook or video every month

Mapt is fully searchable

Copy and paste, print, and bookmark content

Packt.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.

At www.packt.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks. 

Contributors

About the author

J. Ayen Green is a software architect, developer, author, poet, and rascal. He is the author of titles including Drupal 7 Views Cookbook, Drupal 6 Content Administration, and Drupal 6 Attachment Views. Green enjoys nature, critters, photography, the arts, experiencing other cultures, riding horses, and discovering new ales. He and his wife, Sofia-Aileen, make their home in Atlanta when they're not traveling. Track him down @accidentalcoder or theaccidentalcoder (dot) com.

Thanks to the Editorial team at Packt for their assistance and support. I greatly appreciate their eye for detail and willingness to compromise. Thanks, too, to the technical reviewers who already know the material well yet tirelessly slogged through it to help better assure its accuracy.

About the reviewers

Matt Glaman is an open source developer who has been working with Drupal since 2013, and doing web development for many years prior to that. Since then, he has contributed to over 60 community projects and has had 9 core commit mentions. While mostly focusing on Drupal and PHP development, Matt has created the ContribKanban.com AngularJS application to provide Kanban boards for the Drupal community to collaborate on. Currently, Matt is the US Team Lead at Commerce Guys.

 

John Bloomfield is a Software Engineer who lives in Oxfordshire, UK. He has been working in the web industry since 2002. He specialises in Drupal and is the Technical Director of JRB Digital Ltd. He has worked with Drupal since 2009 and has worked on some of the largest enterprise projects with BBC Studios, PwC, BrightLemon, CTI Digital, Atelier 7 and the Australian Government. At BBC Studios, he was part of the team that created BBC Store and also worked on the BBC Good Food and BBC Top Gear websites. John was the technical reviewer on a book by Alex Burrows called Drupal 8 Blueprints.

 

Alex Burrows is a web developer who specializes in Drupal and is based in Surrey, UK. He is the Technical Director of a UK-based agency called Digidrop, also based in Surrey, UK. He has worked with Drupal since 2008 and has worked on some well-known brands and large-scale projects; he is also very active within the Drupal community and attends every European and North American Drupalcon, where he is a mentor as well.

He is also one of the directors of DrupalCamp London CIC, which has been running since 2013, and he has been involved in the organization and its running since the beginning. Each year, it is becoming a bigger, better, and more popular event, and it has been marked as the second biggest Drupalcamp in the world. He is author of Drupal 8 Blueprints.

 

 

 

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.

Table of Contents

Title Page

Copyright and Credits

Drupal 8 Quick Start Guide

Dedication

Packt Upsell

Why subscribe?

Packt.com

Contributors

About the author

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the color images

Conventions used

Get in touch

Reviews

Finding Your Way around Drupal

Installing Drupal

Readying the environment

Running the Drupal installation script

Site information

Site maintenance account

Regional settings

Update notifications

The behind-the-scenes tour

Administration menu

Tabs

System message area

Search widget

User menu

Main navigation

Main content area

Summary

Structuring Content Types

What is content?

Content as fields

Understanding content types

Defining the content type

Submission form settings

Publishing options

Display settings

Menu settings

Managing content type fields

Designing a content type

Content type settings

Fielding the content type

Field types

Our content type field

Adding fields to the content type

Summary

Managing Users

User types

User roles

Managing permissions

Users

Creating a user account

Summary

Creating and Editing Content

Using the WYSIWYG editor

Title*

Body

Summary Field

Body text

Text format

Tags

Images

Publishing the content

Additional settings

Revision log message

Menu Settings

Comment Settings

URL Path Settings

Authoring Information

Promotion Options

Completing the process

Summary

Making Drupal Even More Useful

Pathauto

Paragraphs

Content moderation

States

Transitions

Workflow application

Summary

Grabbing Global Readership

Declaring additional languages

Translating content

User language selection

Translating the user interface

Summary

Feeding the Masses – RSS

Why feeds?

Selecting content for a feed

Modifying content for feed selection

Pick-me flags

Tags

Views

Creating the container view

Creating the Pets feed

Display name

Title

Format

Feed settings

Filtering the criteria

Sort criteria

Creating the Travel feed

Title

Feed settings

Format

Filtering criteria

Creating the Leftovers feed

Title

Feed settings

Format

Filtering criteria

Creating the Feed Links block

Summary

Welcome Home!

BAD home page!

Design improvements

Too much content!

No access to content

No RSS feeds menu

We need a Terms and Conditions page

Making the changes

Improving the Frontpage view

Title

Format

Fields

Filtering criteria

Block settings

Pager

Adding an Archive

Adding the RSS Feeds menu

Fixing the Footer menu

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

Preface

Various terms are used to pigeon-hole Drupal: platform, framework, environment, and so on. At its core, Drupal is a content management system (CMS). Like the other terms, the meaning of CMS can be somewhat abstract and ambiguous, so here is what I feel the terms mean within the context of this book:

Content

: Digital material meant for sharing online

Management

: Manipulation for the sake of usability, continuity and viability, including creating, editing, storing, retrieving, indexing, searching, reviewing, moderating, and translating

System

: A cohesive collection of functionality

Put the three together, and you have Drupal at its heart: a primarily used to make digital material available to users of the World Wide Web.

Drupal offers a breadth and depth of capabilities, with a strong baseline functionality that's greatly expandable via a high degree of customization. There is a cost associated with this, and with any product that offers broad personalization, and that is a learning curve that is not insignificant. Think about your first interactions with a car's display console, a smart watch, or even the New York subway system, and you will likely recall an initial paralysis when deciding the first thing to do; for some, there is nothing intuitive in the experience.

My hope, and the goal of this book, is to ease your way into Drupal, demystifying the manner in which to accomplish the more common content management activities.

Who this book is for

This book is ideal for web developers who are looking to create professional web applications using Drupal 8. You should have some previous experience with Drupal and must have a basic knowledge of web application development in general. If you are looking to create fluent professional websites that will take you to the next level, then this book is for you.

What this book covers

Chapter 1, Finding Your Way around Drupal, will give you a step-by-step installation guide on creating a new Drupal site. You will also look at some of the major sections of the Drupal home page and administrative navigation.

Chapter 2, Structuring Content Types, will explore the fundamentals of Drupal content types and explains why we would want to create one. You will also look at content type fields, what they are, and what type fields are available. Gradually, you will also get to know how to create content types and add fields to content types as well.

Chapter 3, Managing Users, will brief you about users, covering all the major aspects of managing users, including roles and permissions for working with the content. You will also learn about the types of users and how Drupal can ensure limited access. 

Chapter 4, Creating and Editing Content, will guide you through how to create and edit content. You will also learn how to configure the editor for various roles and how to define a custom URL for content as well.

Chapter 5, Making Drupal Even More Useful, will tell you what modules are, introduce their sources, and explain how to enable them. You will also explore a few of the more popular modules that extend Drupal's usefulness for users focused on content.

Chapter 6, Grabbing Global Readership, will tell you how to use Drupal's translation features. You will learn how to declare additional languages and how to enable the user to select their preferred language. You will also learn how to add icons that are used by site visitors and import user interface translations.

Chapter 7, Feeding the Masses - RSS, will tell you all about what an RSS feed is and how to create content meant for such a feed. You will also learn about the views module, what views are, and how to create a view with multiple feed displays.

Chapter 8, Welcome Home!, will guide you through how to improve a weak home page by editing its view, by providing an archive and recent content block, and by changing the footer menu.

To get the most out of this book

In order to work with Drupal 8, and to run the code examples found in this book, the following software will be required:

Web server: Apache (recommended)

Database: MySQL 

PHP

 

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: http://www.packtpub.com/sites/default/files/downloads/9781789340310_ColorImages.pdf.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, mention the book title in the subject of your message and email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packt.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packt.com.

Finding Your Way around Drupal

This chapter will take you step by step through the Drupal site installation process. Following that, we will take a quick tour of the Drupal administration interface. During the course of this chapter, you will learn about the following topics:

How to navigate the Drupal installation script

How to log in to the Drupal administrative interface

How to navigate and use the administrative interface

Drupal-specific terms

Installing Drupal

Installing Drupal is a two-phase process. The first phase is the readying of the environment to host a Drupal website, and the second is running the installation script to create the website. Let's take a quick look at what Drupal is and the requirements for the first phase.

Readying the environment

Physically, Drupal is a collection of folders and files, most often found within a parent folder that is typically referred to as the Drupal root. Drupal also consists of a database, where the site's content and various settings are kept. 

The Drupal root will most often be situated on a computer known as a web server that may contain many websites, though the web server could also exist on a laptop for use in developing websites. The environment in which Drupal exists will consist of the following:

An operating system, which is usually Linux, but can be any another, such as Windows, OS X, or Unix

A web server, such as Apache or Nginx

A database, most often MySQL, which may be on the same server or on a separate database server

The PHP language