WebSite X5Help Center

 
Norbert S.
Norbert S.
User

PDF file path problem  en

Autor: Norbert S.
Visited 911, Followers 2, Udostępniony 0  

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!

Posted on the
3 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
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. 

Czytaj więcej
Posted on the from Der Zwoemti
Norbert S.
Norbert S.
User
Autor

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?

Czytaj więcej
Posted on the from Norbert S.