External link don’t open in a new tab/window when in a template called by a trackerlist plugin
- Status
- Closed
- Subject
- External link don’t open in a new tab/window when in a template called by a trackerlist plugin
- Version
- 15.x
16.x - Category
- Error
- Feature
- Wiki Plugin (extends basic syntax)
Wiki Syntax (text area, parser, external wiki, etc) - Resolution status
- Out of Date
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
At : tiki-admin.php?page=textarea "Open external links in new window" is enable.
So all the following create a link that will open in a new-tab or new window;
Copy to clipboard[http://www.u2.com|U2]As well as:
Copy to clipboard[http://www.u2.com|u2|_blank]As well as:
Copy to clipboard{DIV(class="external_link")}[http://u2.com|{img type="src" src="https://dev.tiki.org/img/icons/large/mytiki.gif" height="32" width="32"}|_blank]{DIV}
However if I use the last one in a template called by a trackerlist plugin, it is not working.
Trying to set the link within the img plugin doesn’t work neither.Check instance.
- Workaround
Not a fix but a workaround;
Add this (use your own css selector if needed) line under thetrackerlist:
Copy to clipboard{JQ()}$(". external_link > a").attr("target", "_blank");{JQ}- Importance
- 7
- Easy to solve?
- 9
- Priority
- 63
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6100
- Created
- Friday 02 September, 2016 07:25:33 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Wednesday 11 January, 2017 14:45:07 UTC