Linking to a PDF file using an .svg button

The “Link to PDF” action does not support selecting a button in .svg format. So I attempted to create a relative link to a pdf I uploaded to the site’s Resources folder using Cyberduck.

Back in Freeway I assigned the svg button the following hyperlink:

file://Resources/pdfFileName.pdf

I uploaded the Freeway site to the server, and in my browser navigated to the sites URL on the server and tested the button. Didn’t work.

I tried an extra slash and that didn’t work either.

file:///Resources/pdfFileName.pdf

What am I doing wrong?


freewaytalk mailing list
email@hidden
Update your subscriptions at:

What am I doing wrong?

2 things

1 - you shouldn’t muck about in the Resources folder without knowing exactly what you are doing. Instead use an Action like Upload Stuff or Upload Extra Resources Upload Extra Resources - ActionsForge

Both these actions will give you options as to where the file will end up. In Resources if you want.

2 - file://Resources/pdfFileName.pdf is not a web protocol - only works on Desktop. Instead use Resources/pdfFileName.pdf (a releative path) or www.myserver.com/Resources/pdfFileName.pdf (an absolute path)

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options