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 5 ■ Content Types<br />

Figure 5-27. Setting the file upload parameters<br />

On the final configuration screen (see Figure 5-28), you will find fields and options for entering help text<br />

that explains what this field is used for (“Upload the events program” in our example), indicating whether<br />

a file upload is required when creating an event (unchecked in our example), specifying the allowed file<br />

extensions (in our case we’ll allow an author to upload a file with either a txt, doc, docx, ppt, pptx, or pdf<br />

file extension), optionally identifying the directory within the public files directory where these files will be<br />

uploaded (leave blank), setting the “Maximum upload size” (for our example we’ll allow files up to 1MB<br />

to be attached to the event), and enabling a Description field that may be used by the content author to<br />

describe the file. Once you’ve updated the values, click the “Save settings” button at the bottom of the form.<br />

67

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

Saved successfully!

Ooh no, something went wrong!