The LinkPDF plug-in is a handy extension that will quickly link a PDF to a label within your article.
1.) Login to the Joomla Control Panel
Upload the PDF file
2.) First upload the PDF file into the web site or verify the PDF resides within the Media Manager. Go to Content > Media Manager
2.) Enter the PDF storage folder. In this example, we will clink into the "pdf" folder
3.) If a new PDF is being used, click the "Upload" button, and following the prompts. Skip this step if you already know the file resides within the Media Manager
4.) Change the view to "Detail View"
5.) Locate the PDF file to verify it exists. In this example, we will link the "new-sales-sheet.pdf" file.
6.) Note the file name without the extension (as seen highlighted). Jot this down for later reference. In this case we are noting "new-sales-sheet"
NOTE: Pay close attention to the exact spelling, case-sensitivity, and special characters within the file name. Joomla is particular about spelling and case-sensitivity.
7.) We are done using the Media Manager.
Adding PDF link to an Article
8.) Go to Content > Articles
10.) On the editor tool bar, find the "Content Template" button and click.
(Note: If this is not present, refer to the Addendum below and skip to Step 12.)
11.) Click the "PDF Link" option from the drop-down.
12.) The basic plugin syntax is added to the page: "{linkpdf file="example-document"} Click here to view example PDF document {/linkpdf}"
13.) Adjust the default plugin to link to your PDF. In this example, we are linking to "new-sales-sheet" as we had noted from above.
(Notice that the extension is not included since we already know that we want to link a PDF.)
The curly brackets indicate the start and stop of the plugin. These are visible in the text-editor but will be removed from the public web page when loaded.
The "file=example-document" piece of the plugin indicates what PDF file to link. Replace this with the new file name like this: file=new-sales-sheet
Replace the "Click here to view example PDF document" with a more appropriate label. In this example, we will use "Click to view the Sales Sheet PDF"
The text in the article now should look like this:
14.) Save the article and refresh your browser for the public facing page. The PDF will now be available for download.
Addendum
For users who do not have the "Content Template" button in their text editor, simply copy and paste the following line of content into your article.
{linkpdf file="example-document"} Click here to view example PDF document {/linkpdf}
Afterwards, request your webmaster to install the RegularLabs "Content Templater" plugin.