Author Topic: opening hfs files in a new window?  (Read 944 times)

0 Members and 2 Guests are viewing this topic.

Offline bobxzx

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
opening hfs files in a new window?
« on: August 18, 2013, 08:03:03 PM »
I know the html command target=_blank to open something in a new window but can't figure out where on the template to put it to open hfs's files & folders, anyone got an idea for that, didn't find anything about that in the forum search either.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: opening hfs files in a new window?
« Reply #1 on: August 19, 2013, 05:36:35 PM »
where you see this
<a href="%item-url%">

that's the link for both files and folders.
You can put your modification in that tag.

Offline bobxzx

  • Occasional poster
  • *
  • Posts: 9
    • View Profile
Re: opening hfs files in a new window?
« Reply #2 on: August 20, 2013, 05:15:07 AM »
Lol, I came here to answer my own ? and found the answer I came up with posted but for anyone else looking to do the same this is how the code looks

[file]
<tr><td>%new% %protected% <a href="%item-url%" target="_blank">

"target=_blank" was added to the line.

did the same thing for the folder line so both folders & files open in a new window