[xwiki-users] attach with target
Hello. trying to link to an attach(PDF file) from my page and i don;t know how to add the target = "_blank" property. i found this thread... but it does not give the sollution, it just sais that it is possible. how weird is that? http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933 thanks
Nohinder wrote:
Hello. trying to link to an attach(PDF file) from my page and i don;t know how to add the target = "_blank" property. i found this thread... but it does not give the sollution, it just sais that it is possible. how weird is that?
http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933
Hi, if you want to display all your attachments in a new window (or in a new tab in FF), you can add target="_blank" in attachmentsinline.vm: $doc.getAttachmentURL( #packName($attach.filename) Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097795.html Sent from the XWiki- Users mailing list archive at Nabble.com.
no this does not work. :( --- On Thu, 9/18/08, adoro <[email protected]> wrote: From: adoro <[email protected]> Subject: Re: [xwiki-users] attach with target To: [email protected] Date: Thursday, September 18, 2008, 12:19 PM Nohinder wrote:
Hello. trying to link to an attach(PDF file) from my page and i don;t know how to add the target = "_blank" property. i found this thread... but it does not give the sollution, it just sais that it is possible. how weird is that?
http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933
Hi, if you want to display all your attachments in a new window (or in a new tab in FF), you can add target="_blank" in attachmentsinline.vm: $doc.getAttachmentURL( #packName($attach.filename) Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097795.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Nohinder wrote:
no this does not work. :(
Once more - the complete line $doc.getAttachmentURL( #packName($attach.filename) It works fine in our XWiki 1.5 and 1.2 either in FF or in IE Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097828.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
adoro -
Gabriela Radu