WebSite X5Help Center

 
Norbert S.
Norbert S.
User

PDF file path problem  en

Autore: Norbert S.
Visite 910, Followers 2, Condiviso 0  
Parole Chiave: code,html,printable,version

I wanted to add PDF file in order to make it possible to download printable version of my sites for the visitors. Therefore I pasted a HTML code with the HTML and Widgets option and paste this html code:

"<a href="D:\\Holnap\\Weboldal-Norbi\\VIV-Eng.pdf" title="Click here for the print friendly version." style="color:#0F57FF;font-size:18px;font-family:Franklin Gothic Medium;text-decoration:underline;" target="_blank" >Printable Version</a> Printable Version"

Under the expert tab I added the file linked to the html code,but when I uploaded my website to the internet and checked on an another computer I had to realize the "Button" does not work, because it linked to my computer(the path was:D:\Holnap\Weboldal-Norbi\VIV-Eng.pdf)

Is it possible to solve this problem on this way somehow?If yes how or do you know a better solution? Thank you in advence!

Postato il
3 RISPOSTE - 1 CORRETTO
Der Zwoemti
Der Zwoemti
Moderator

 use - 

 "<a href="http://www.your-domain.com/files/VIV-Eng.pdf" title="Click here for the print friendly version." style="color:#0F57FF;font-size:18px;font-family:Franklin Gothic Medium;text-decoration:underline;" target="_blank" >Printable Version</a> Printable Version"

The file you can append to the HTML object and there is automatically uploaded.The default directory files - which you can use. You need only enter your domain. 

Leggi di più
Postato il da Der Zwoemti
Norbert S.
Norbert S.
User
Autore

Thank you I have tried it but somehow it did not  work properly. The structure of my ftp server is a little bit different(you can see it on the picture) therefore I have tried to modify the code but it did not even work.

I tried your html code and this one also:

"<a href="http://www.my-domain.com/html/files/VIV-Eng.pdf" title="Click here for the print friendly version." style="color:#0F57FF;font-size:18px;font-family:Franklin Gothic Medium;text-decoration:underline;" target="_blank" >Printable Version</a> "

But none of them was correct and linked to a non-exist site.

Do you have any other idea what the problem is?

Leggi di più
Postato il da Norbert S.