Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Set Link Target = _blank 29 Nov 2016 17:17 #14767

On a front end list layout, I would like the download links to open a new window. How can you set the link target to _blank?

I have the Create A Link turned on and the Link Task set to Download. The links work to download the files. I just need them to open in a new browser tab/window.

Please Log in or Create an account to join the conversation.

Set Link Target = _blank 30 Nov 2016 21:29 #14780

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Not available in the buider

In the JDom call, set
"target" => "_blank"

As simple as that.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.083 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started