Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to cause Link to open in a new window.

Greg Della-Croce
Contributor
January 13, 2017

I have a customer that wishes to create links in his page that open up in a new window instead of overlaying the current window.

As the admin, I do not wish to change this behavior for all customers.  Thus I do not wish to change the configuration.   Is there any way to add code to his page or his links that will do the job?

Thanks!

3 answers

0 votes
Greg Della-Croce
Contributor
January 17, 2017

Ed and Nic,

Thanks for the answers.   I will look at the plug-in.  I am not sure what it does, but I will find out.

Nic,  To be honest, I have never written a macro for Confluence.  I wouldn't even know where to start.  Makes me sound rather amateurish, but I never took the time to hunt down the "how to".

Thanks to both of you! 

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2017

They're not as scary as they sound.  Have a look at https://confluence.atlassian.com/doc/writing-user-macros-4485.html for writing them if you want, and then https://confluence.atlassian.com/disc/shared-user-macros is a pile of examples from the community (some are old, and you should always be careful to check they're suitable)

Greg Della-Croce
Contributor
January 23, 2017

Thanks for the information.  I got tied up with moving the Confluence to AWS.  But now I can look at this.

 

Greg

0 votes
Deleted user January 13, 2017

Hi Greg,

there are multiple solutions, one of them is write a user macro as mentioned by Nic.

Alternatively use following Add-On available on the Atlassian Marketplace:

https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.externallinks/server/overview

These options only work for Confluence Server though.

Hope this answers the question.

Regards

Ed 

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2017

You could try writing a user macro that would wrap the right html code around a url to pop it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events