Linking to pdf file in html block

Permalink
I want to link to a pdf file I have uploaded in file manager. The problem is I am using a FontAwesome pdf logo, and this needs to be added using an html block. What is the correct way of linking to this file in an html block? The pathway is not very logic to me.
Would it be better to put the pdf outside of the whole C5 system (somewhere else on the server) and link to it that way?

djoniba
 
madesimplemedia replied on at Permalink Reply
madesimplemedia
Hi,

The path may seem odd, but it's just how files work in the file manager.
You could upload it manually to say root/pdfs/ on your server, but you would lose the ability to replace it in the file manager later.

Thanks
Dave
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi djoniba,

What version of concrete5 are you using?

One approach for this is to create a custom block template for the file block. In the template you can include the Font Awesome PDF font icon. This would allow you to use the file manager to handle your files instead of manually adding them using the HTML block.