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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 ■ Creating and Managing Content<br />

A pop-up window will appear in which you can update the text without leaving the homepage<br />

(see Figure 2-8). Make changes to the text in the editor and click the Save button. The new version<br />

automatically appears on the homepage after you’ve saved it. This is a great way of performing quick text<br />

touch-ups or fixing errors that you’ve spotted.<br />

Figure 2-8. On-page content editor<br />

If you are making several changes and prefer the full-screen editor interface, click the pencil icon (see<br />

Figure 2-7) and select the Edit option. This is the same as clicking the title of any content item to view the<br />

content detail page (the full rendering of that content item as a stand-alone page) and selecting the Edit tab<br />

below the title of the content, as we did previously.<br />

Other Content Options<br />

In the right column of the content editing form (see Figure 2-6), we modified one of the items—Promotion<br />

Options—before we saved our new content item. Let’s look at this and the other options associated with a<br />

content item before moving on to more advanced content topics.<br />

Click the Edit tab next to the title of the content item you just updated and examine the items in the<br />

right column:<br />

• “Create new revision” check box<br />

• Menu Settings link<br />

• Comment Settings link<br />

• URL Path Settings link<br />

• Authoring Information link<br />

• Promotion Options link<br />

The options associated with each of these items are described in turn in the sections that follow.<br />

Revision Information<br />

Have you ever made a change to a document, saved those changes, and then realized that you made a<br />

mistake and need to “undo” the changes you made? Have you ever realized this after closing Microsoft Word,<br />

when it’s too late to revert to the document in its pre-changed state?<br />

There will come a time when you or someone else makes changes to a content item, and you’ll wish you<br />

had a copy of the content before it was changed. <strong>Drupal</strong> solves this problem by providing the ability to create<br />

a new version (copy) of your content when that content item is changed. Edit the sample article you created<br />

in previous steps and check the “Create new revision” check box in the right column. Enter a description of<br />

the changes that you made (see Figure 2-9) in the “Revision log message” field.<br />

14

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

Saved successfully!

Ooh no, something went wrong!