Is there a straight forward way to put a link in a site's main navigation that opens a PDF, preferably in another window?
Is there a straight forward way to put a link in a site's main navigation that opens a PDF, preferably in another window?
Ok, currently using an external redirect to the absolute URL of the file. I would like to find a better way, as the site will eventually be at a different url.
If anyone has a better method, let me know! Thanks!
You can make the link relative. Instead of "http://yourdomain.com/tl_files/file.ext" use "/tl_files/file.ext".
(I didn't check but there is a tiny chance you may have to leave out the leading slash because of the base element that tl puts in the header. But "/tl_files/file.ext" or "tl_files/file.ext" should work regardless of the domain changing)
Bookmarks