Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Info | ||
---|---|---|
| ||
Level 1 or Higher - See permission level document for details |
Overview
You can upload PDFs to be linked in your pages. You can also select PDFs that have already been uploaded elsewhere on your site and link to them.
This is similar to how we upload and link to PDFs on our Drupal 7 sites.
Image Removed
Image Removed
Table of Contents
Table of Contents | ||
---|---|---|
|
Steps
Inserting PDFs using the "Link" icon
Step 1
): Select
your text to be linkedYour Text to Be Linked to the PDF
.From within a page or piece of content with a text editor, type and select the text you want the PDF or doc to link to.
Make sure that the link is as specific as possible. "Click here" or "Read more" or "this" is not specific enough and will not comply with accessibility standards.
Step 2
): Click the
chain icon that says "Link."Image RemovedChain Icon (it says Link)
Image Added
This is the same icon you click when you want to insert a link to a page on your site, or on another site.
Step 3
): Click the "Open File Browser" text.
Image RemovedImage Added
This brings up IMCE, the File Manager.
Step 4
) Select your file.: Select Your File
If your file is already in the File Manager, you can click on it and hit the "Select" option at the top.
If you don't see it, you can upload the file from your desktop.
Click "Upload" and "Add File."
I'm uploading and linking to this Color Guide PDF.
There are file size limits, usually 2 megabytes, so if the PDF doesn't upload, it may be too large.
Talk to your IT Professional about how to reduce the file size.
I actually re-saved the original of this using Adobe Acrobat's "Save as Reduced Size PDF" option. 431kb is small enough.
Click on your newly uploaded PDF and click "Select."
You'll see the url to the PDF.
Step 5
) Save your link.: Save Your Link
It now appears in the document.
Step 6
): Save
your document and test your link.Your Document and Test Your Link
Your browser settings will determine whether the PDF appears in the browser or downloads automatically.
Inserting PDFs using the "File" icon
Alternatively, if you know your PDF isn't on the site already, you can by pass the File Manager altogether.
1) As before, select the text you want to click to.Step 1: Select the Text You Want to Click to
Step 2
): Click on the
paperclip iconPaperclip Icon that
saysSays "File."
This takes you straight to your desktop to upload a file.
Step 3
): Select a
file from your desktop.File from Your Desktop
Step 4
): Click
save.Save
Step 5
): Save
your document and test your link as before.Your Document and Test Your Link as Before
Getting a file to appear in the menu structure
Let's say you want a PDF or other file to exist in the menu somewhere, not on a page.
We'll start a Basic Page and upload a PDF the usual way. We will save the page as published, which is different than the way we would go about this in Drupal 7, where we wouldn't have to save a page). We'll go to the File list, get the url for the file, and go into the menu structure and add the url to the PDF to the menu.
Step 1
): Go to Add Content and
selectSelect Basic Page
You can use any content type with the text editor field, really.
Step 2
): Using the
instructions aboveInstructions Above for Inserting a PDF
file via the link iconFile Via the Link Icon, or the
one using the file button, uploadOne Using the File Button, Upload a PDF.
Step 3
): Save the
pagePage as
unpublishedUnpublished. Having a
pagePage,
evenEven if
unpublishedUnpublished,
tellsTells Drupal
thatThat the
fileFile is
permanent rather than temporary.Permanent Rather than Temporary
Step 4
) : Go to Content and Look for the File tab.If you don't see this "File" tab, put in a ticket to the web team via helpdesk.franklin.uga.edu.
Step 5
): Under the
fileFile tab,
we see our recently uploaded file.We See our Recently Uploaded File
Step 6
): Click on the file to get the url. We only want the part after the .edu. So starting at "/sites/default/files/etc..."
Step 7
): Go to the
menu structureMenu Structure and
clickClick "Add Link."
You can access via Structure >> Menus >> Main Menu, or via the Shortcut links in the main menu.
For more information on working with menus, click here.
Step 8
): Paste your url,
giveGive the
linkLink a
titleTitle, and
decide where it will goDecide Where it Will Go. Save the
linkLink.
Step 9
) You will see your: You Will See Your PDF in the
menu structure.Menu Structure
Deleting PDFs permanently
To remove PDFs and other files permanently, from the File Manager, select a File and click on delete. Or, follow my instructions here: How to delete files in Drupal 8 or Drupal 7
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|