Results 1 to 3 of 3

Thread: Linking to a file in site navigation

  1. #1
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Linking to a file in site navigation

    Is there a straight forward way to put a link in a site's main navigation that opens a PDF, preferably in another window?

  2. #2
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Linking to a file in site navigation

    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!

  3. #3
    User
    Join Date
    06-29-09.
    Posts
    271

    Default Re: Linking to a file in site navigation

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •