How can I create a link to a local...

User 2979017 Photo


Registered User
13 posts

Hi,

I want to insert a link to a pdf file or doc file. I was expecting an element like the picture element for other kinds of files but I did not see anyone. How do I create a link to a pdf file? Do I use Text Link Element? Do I have to move the pdf file to the folder after I export the project?

Thanks a lot,
Sergio
User 3150203 Photo


Guest
3 posts

You should create a link of download where you have uploaded your doc and pdf file. This is a easy way to share files.
User 2979017 Photo


Registered User
13 posts

I see, so there is not a way in which it can be done properly in Site Disigner. It would be nice if in the next versions they add a file element to add a document to the project using a similar way to the picture element. Do you know if someone made the suggestion to the develoment team?

Thanks!
User 379556 Photo


Registered User
1,563 posts

Sergio M wrote:
... How do I create a link to a pdf file? Do I use Text Link Element? Do I have to move the pdf file to the folder after I export the project? ...

One can simply put the PDF file in Project Resources in Site Designer and use a link element, putting the path to the file in the Href box of the link element in the Element panel.

Frank
User 2438827 Photo


Registered User
26 posts

In an RFF project, I set up a docs folder in project resources, then a sub-folder called Newsletters. I then imported a pdf newsletter into the resources in the Newsletter sub-folder. So in the Href my text link points to docs/newsletters/newsletter41-english.pdf
It works fine on Preview but fails to work live on a browser. One gets a 404 error message
How can the preview work but not live??
Tried it with SD too, same thing.
User 2699991 Photo


Registered User
5,091 posts
Online Now

Induna wrote:
In an RFF project, I set up a docs folder in project resources, then a sub-folder called Newsletters. I then imported a pdf newsletter into the resources in the Newsletter sub-folder. So in the Href my text link points to docs/newsletters/newsletter41-english.pdf
It works fine on Preview but fails to work live on a browser. One gets a 404 error message
How can the preview work but not live??
Tried it with SD too, same thing.


The filder with the PDF needes to be zipped {or the pdf itself needs to be zipped to a folder)
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 187934 Photo


Senior Advisor
20,242 posts
Online Now

Make sure your directory and or file naming are correct in your link and match the file and location online. Windows doesn't recognize uppercase but servers do.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2438827 Photo


Registered User
26 posts

Wayan Jaya wrote:
Induna wrote:
In an RFF project, I set up a docs folder in project resources, then a sub-folder called Newsletters. I then imported a pdf newsletter into the resources in the Newsletter sub-folder. So in the Href my text link points to docs/newsletters/newsletter41-english.pdf
It works fine on Preview but fails to work live on a browser. One gets a 404 error message
How can the preview work but not live??
Tried it with SD too, same thing.


The filder with the PDF needes to be zipped {or the pdf itself needs to be zipped to a folder)


That did not work but I changed it from a Resources folder/file to an external link which I should have thought of in the first place. Thanks Wayan
User 3159505 Photo


Guest
4 posts

First, you need to make sure that your PDF or DOC files are accessible on your website's server. You can either upload them to the appropriate directory on your web server or use a file hosting service.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.