Add a PDF file to web page (section)
Question: How do I do create a link to open a PDF in my content
Answer: You need to upload your PDF into the Media Library and then link to it from your web page content
- In the Main Body of your content, place the mouse where you want to insert your PDF link and then click Insert Media.
- The Media Library opens to the Preview Mode.
- Click on the +plus beside Assets to expand the files.
- Also, expand your department files and locate and click on the Category where you want to add the PDF.
- Click on Add Media.
- Enter the basic General Media Information:
a) Media: click Choose File and select the relevant PDF from your computer network location.
b) Name: Used as a name in the Media Library to allow easy identification (you can use the name of the PDF file).
c) Keywords: Enter keywords for the PDF to be used for search purposes in the Media Library.
d) Type: If you have already chosen your media, this will be automatically detected where possible.
- Click Add.
- The PDF is ready to be used.
- Hover over the PDF and click Select.
- The PDF has been inserted in your content.
- If you want to change the link text displayed on your page, click once the PDF link text to select it.
- Then right click on the PDF and choose Media Attributes from the menu.
- In the empty Name field, enter the new name for the link text.
- Update to return to the content screen.
- Click Update and Approve to save the changes made to the content.
How to replace a PDF file?
Question: How do I update a PDF in the media library so it automatically updates my content?
Answer: Update your PDF in the Media Library and it will update your PDF link in your content
- Go to the Media Library.
- Open to the Preview Detailed Mode (small icon on right side of Add Media bar).
- Find your PDF and either:
a) Click on the Edit icon to the right of the file.
b) Click on your filename link under the Media Name and then choose Modify.
- Under Media, click Choose File and select the replacement PDF from your computer network location.
- Update the Name and Description or other fields as required.
- Click Update.
- The PDF is ready to be used.
- Go to Modify the content where the PDF link is located.
- Your link to the PDF should be updated.
- Verify your link by doing a Preview and testing the link.
Removing PDF Links
In myWeb, links to media assets and links to sections are not created equal.
The Unlink icon only works with links to sections.
A PDF is a media asset, not a web page.
How to remove a PDF Link
To remove a link to a PDF:
- insert your cursor anywhere in the text link,
- right click and select Remove Media.
Both the text and link to the PDF will be removed.
Reenter text, if required. Update and Approve. And that’s it. The link to your PDF is gone for good!
How to change the text displayed for the PDF link?
Solution: Change the name of the link in Edit Media Attributes.
- Go to the content that contains your PDF link.
- Click once on the PDF link.
- Right-click on the PDF link and select Edit Media Attributes.
- In the Name field, type the name of your link you want displayed on the page.
- Choose Update.
- Preview your changes.
- Update & Approve.
How to make an image clickable so it opens a PDF document?
Question: How do I make an image clickable so it opens to a PDF?
Answer: To make an image clickable to open to a PDF (or another image) you need to build the path of the location of the PDF in the Media Library
The following shows the full URL to the PDF file:
[–default path to Media Library–][——folder 1——][—-folder 2—-][—————filename————–]
Step by Step:
- Go to Content > Media Library.
- Expand the folders and find your PDF or media file you want to link to.
- Click on Advanced below your PDF.
- Copy the Filename
i.e. Bike Frame Course CS Image.pdf
- If the PDF is located in a category (folder) go back into the Media Library and make note of any folder names.
i.e. /Continuing Studies/Spring Courses/
- The default path to the Media Library has to be included in front of your folder(s) and file:
- Replace any spaces between words with a hyphen – NO SPACES
- Copy your built media path and paste it into an internet browser and make sure it is working properly by finding and opening your pdf file.
- Once you know the path is working, add your path information to your image file properties by going into your content where your image is located.
- Left click once on your image to select it.
- Click on the Insert/edit link button on the toolbar.
- In the Link URL field, paste the full path to your media file you created.
- Set the Target field to Open in New Window (_blank).
- Test your image by clicking on it to see if it opens the PDF properly.
- Close the browser window.
- Update & Approve your changes.
NOTE: This is not a preferred method to making a media item clickable as it creates a hard link which will break if there are file changes. We hope to have a better solution in place in the future.