WebSite X5Help Center

 
Norbert S.
Norbert S.
User

PDF file path problem  en

Автор: Norbert S.
Просмотрено 909, Подписчики 2, Размещенный 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!

Размещено
3 Ответы - 1 Корректно
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. 

Читать больше
Размещено От Der Zwoemti
Norbert S.
Norbert S.
User
Автор

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?

Читать больше
Размещено От Norbert S.
Der Zwoemti
Der Zwoemti
Moderator

upload the pdf

use your Domain! (Step 1 - Url)

http://vectorcabinet.hu/

not

http://vectorcabinetkft.t-online.hu

and then use

 "<a href=" http://vectorcabinet.hu/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" 

not "html" between files 

Читать больше
Размещено От Der Zwoemti