Chapter 5. Basic Content

In this chapter, we will introduce the site-building scenario that we will use as a vehicle for learning throughout the rest of this module. Think of this as a project brief from a new client (except without a budget).

We will be building on this scenario in each of the future chapters, improving on your Drupal 8 knowledge as we do.

Introducing your site-building scenario

Your site-building scenario is to set up a simple website for your own small business which specializes in offering a number of Drupal-specific digital services.

Types of content

The simple website will include the following types of content:

Pages

The website comprises pages which contain rich text, embedded images, and links to other areas of the site.

Pages need to be directly linked from within the Main navigation menu.

Articles

The Article content type will be used to implement the general articles, blog, and news features on the site.

Whether or not a particular article node is deemed to be a general article, blog post, or a news item will be specified by using a Category Taxonomy of either 'Articles', 'Blog posts', or 'News'.

Additionally, articles can be free tagged with one or more words or phrases from an organic collection of categorizing terms or 'Tags'.

Articles can be illustrated with images.

Articles should be comment-enabled so that users of the site can contribute to threaded conversations much as one would expect in a forum. All comments by anonymous site visitors should be directed into a moderation queue before being published.

There is no requirement for site visitors to preview comments before submitting them.

News articles should all be accessible from a news listing page.

Likewise, blogs should be listed on the blog page and general articles on an articles page.

All three lists should be sorted with the most recently created at the top of the list down to the oldest at the bottom.

Clients

Client profiles should provide a summary description of each of your clients, a logo and some client contact details in the form of an e-mail address and a telephone number.

Additionally, you should to be able to categorize each client within a work area.

The website should provide a dedicated page which lists all of your clients, grouped according to their work area classification.

Services

The site should provide a brief summary of each of the services you offer and you should be able to categorize each one in one or more work areas.

You should be able to optionally link each Service to one or more Clients.

Testimonials

The website should include a list of testimonials and each testimonial should be linked to an existing Client. There should be a dedicated page which lists testimonials grouped according to their work area classification and then sorted from newest to oldest with each group.

The testimonials should include the writer's name, job description, and company.

FAQs

The website should provide a page that lists Frequently Asked Questions (FAQs) grouped into work areas.

Contact information

The website should include a dedicated contact page where you can include details of your location as an address and a simple contact through which the public can submit enquiries.

The contact page should direct site visitors to e-mail addresses and telephone numbers for dedicated customer advisers.

We'll use the above scenario website as a vehicle for introducing new ideas and concepts from here on in this module and we'll illustrate how you might go about using Drupal 8 to achieve your ends step-by-step.

SEO considerations

The site should use Search Engine Optimized (SEO) URLs.

For example, when visiting a news item, the site should use a pattern like this:

SEO considerations
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset