18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 ■ Creating and Managing Content<br />

An article is identical to a basic page, with the single exception that an article has an image upload<br />

feature and an additional field where the author can enter what are called tags. Tags are simply words that<br />

help classify, organize, and search for related content on your site. They are a powerful <strong>Drupal</strong> feature that I<br />

will cover in detail in Chapter 4.<br />

To create and publish your new article, click one of the “Add content” links on your website and select<br />

Article from the list of content types. The form that is used to create an article looks identical to the form<br />

used to author a basic page, with the exception of the image upload and tags fields. Proceed with the content<br />

creation process by entering a title. Next, upload a picture by clicking the Browse button and finding a<br />

picture on your computer to upload and include in the article (see Figure 2-1).<br />

Figure 2-1. Browse your computer for the image you wish to add to your article<br />

After you locate and upload an image, your content creation form should display a miniature version<br />

of the image on the form (see Figure 2-2), along with an alternate text field. It is a good idea to enter text into<br />

this field, especially if you expect to have visitors with visual disabilities.<br />

Figure 2-2. The image you wish to upload appears, and you are given the chance to add descriptive text<br />

The next step is to create the body text and the tags associated with your article (see Figure 2-3). Tags<br />

can be any list of words or phrases, separated by commas, that describe the general concepts covered in your<br />

article. I’ll discuss tags in more detail in Chapter 4.<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!