When working with your content pages, there may come a time when you want to allow your visitors to download a text file. The ability to add the file for download is not standard for either the Article or Basic Pages content type. This article will walk you thorugh adding that field option to your preferred content type. Enabling a file download field is fairly simple and done via the Drupal 7 admin Content Types manager. Follow along below to learn how to do it.

Enabling the file field for downloadable files for tontent types in Drupal 7

  1. Log into the Drupal 7 admin dashboard.
  2. Using the top menu bar, locate and click on the Structure option.
    structure
  3. From this next page, click on the Content Types link.
    content-types
  4. On the Content Types page, find the content type you want to work with and click on the Manage Fields link for that type. In this tutorial we are choosing the BAsic PAges content type.
    manage-fields
  5. Next you will be taken to the screen to add fields. Find the section labeled Add New Field and enter a label and machine name of your choosing. The Field and Widget columns must be set to File.
    add-download-field
  6. After entering the information, click on the Save button at the bottom. This takes you to a second screen to adjust some more settings for all 'download' fields. Simply click on the Save Field Settings button to accept the defaults.
    add-download-field2
  7. Now, when you decide to add or edit content for that content type (Basic Pages in my case) you will see a download field under the body content area.
    add-download-file-after
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2173
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5569

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!