Forums

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

How do I get the shortcut link I put into my footer open in a new window/tab?

Lucas Dotzler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2018

I have set up a shortcut to link to our service desk to be the footer of all pages in our confluence site.  When that link is clicked, it stays in the same tab rather than opening a new one.

 

Is there a way to make that shortcut link open in a new tab when clicked?

1 answer

0 votes
kennyngkk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2018

Hi Lucas,

Looks like you are new here, please allow me to give you the warmest welcome to our community. 

You will need to create a User Macros to ensure that the HTML code is change to a Wiki Markup. This will work not just for the footer. It will work anywhere you place the macro that accepts WikiMarkup :) 

How to create and install the User Macro 

  1. go to Administration -> User Macros
  2. create a new user macro called newtablink
  3. The macro has no body.
  4. The macro generates HTML markup.
  5. Enter the following in the Template field:
<a href="$paramurl" style="text-decoration:none;"target=”_blank”>$paramalias</a>

 

How to use

Go to the footer/link that you would like to open in a new page. Place the code below into place where you want to insert the HTML. 

Sample:

{newtablink:url=http://www.atlassian.com}

If you would like to show it at Click here you can use the sample below. 

Sample:

{newtablink:url=http://www.atlassian.com|Click here}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events