- Drupal 8 Blueprints
- Alex Burrows
- 234字
- 2021-07-03 00:03:24
Telling Your Own Story with Drupal
Latest news is an important part of any website for many businesses. They allow the business to engage with their customers and keep their employees updated. In this chapter, we will create a simple news website using Drupal 8 core functionality. This can also be used as a blog; we're just making it sound exciting and relatable.
This chapter will be a little more in depth in showing how the basic functionality of Drupal works; this will allow quicker development later throughout the book.
We will explore the following topics in the chapter:
- Creating a new content type
- Creating taxonomy terms and associating them to news posts
- Using custom views to display the listing and individual news pages
- Enabling a comment field to allow user comments
- Referencing other news articles on the site
- Setting up restricted articles
- Understanding permissions and roles
- Configuring the editor experience
We will learn how to create a content type and implement the fields required for displaying the news articles; this is more of a refresher on how to do things. We won't go into this much detail on beginner items again. If in doubt, take a relook at this chapter.
We will also create custom view modes for displaying different display types using references from the post, and then finally, move into the theme layer inside twig templates for displaying the content.
- C語言程序設計基礎與實驗指導
- C語言程序設計(第2版)
- x86匯編語言:從實模式到保護模式(第2版)
- Java Web開發技術教程
- UML 基礎與 Rose 建模案例(第3版)
- UVM實戰
- RSpec Essentials
- Visual C++開發入行真功夫
- RESTful Java Web Services(Second Edition)
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- 計算機應用基礎教程(Windows 7+Office 2010)
- Julia 1.0 Programming Complete Reference Guide
- .NET 4.5 Parallel Extensions Cookbook
- C++ System Programming Cookbook
- 邊玩邊學Scratch3.0少兒趣味編程