How to add a link to a word or pdf document

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Ambala1
Registered User
Posts: 11
Joined: Fri Apr 28, 2017 12:19 pm

How to add a link to a word or pdf document

Post by Ambala1 » Mon Jun 19, 2017 6:59 pm

Hi,

I downloaded the extension to add extra pages to the forum. I now want to add content to the page. Im trying to add a set of self made template letters (in Dutch) like:
A letter to hold a party liable for damage caused
A letter to go in objection etc.

I want to add a link with the name of the letter and if they click on it a word/pdf file will open with the template. Does anyone knows how I can do this?

janus_zonstraal
Registered User
Posts: 1358
Joined: Sat Aug 30, 2014 1:30 pm

Re: How to add a link to a word or pdf document

Post by janus_zonstraal » Mon Jun 19, 2017 7:08 pm

Upload the pdf to your server in the root directory (jouw.pdf)
And add a link with the pdf name in the page
www.yourboard.nl/jouw.pdf
Sorry! My English is bat ;) !!!

Ambala1
Registered User
Posts: 11
Joined: Fri Apr 28, 2017 12:19 pm

Re: How to add a link to a word or pdf document

Post by Ambala1 » Tue Jun 20, 2017 8:09 am

Okay. Wow, thanks for your help. I know how to get it on the website now.

Is it however possible to put a hyperlink in the name.
For example I want to put the file with the link www.yourboard.nl/jouw.pdf on the website that will open the jouw.pdf file. However to keep a better overview on the page I want to name it just "Jouw" with a hyperlink in it. So if you click on "jouw" the jouw.pdf file will open.

User avatar
canonknipser
Registered User
Posts: 1021
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: How to add a link to a word or pdf document

Post by canonknipser » Tue Jun 20, 2017 8:34 am

If you work with bbcode, just put the link in the opening tag inside the square brackets and put the displayname between the opening and closing tag:
[url=link_to_document.nl]name of document[/url] or as in the example above: [url=http://www.yourboard.nl/jouw.pdf]Jouw[/url] which results in Jouw

Otherwise, use standard html <a href="http://www.yourboard.nl/jouw.pdf">Jouw</a> -> https://www.w3schools.com/tags/tag_a.asp
Greetings
Frank
phpbb.de support team member
English is not my native language
New arrival - Extensions and scripts for phpBB
no support via PM or mail

Ambala1
Registered User
Posts: 11
Joined: Fri Apr 28, 2017 12:19 pm

Re: How to add a link to a word or pdf document

Post by Ambala1 » Tue Jun 20, 2017 11:54 am

Thank you! .. Very much appreciated. :D

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: No registered users and 25 guests