Forums

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

Can I link to a tab on a different page? (AUI Tabs Macro)

Stephen Williams
Contributor
September 23, 2013

I'm currently working with a teams page that uses tabs to display team status for each team. I tried to add anchors to each tab (AUI Tabs Page), but linking to these anchors from a different page simply opens the first tab.


Does anyone know if it's possible to link to a particular tab on a separate page? The Show Card macro cannot be used, as I am creating links on a different page that where the tabs/anchors are located.

Thanks!

6 answers

1 accepted

4 votes
Answer accepted
Karin van Driel
Contributor
December 18, 2013

Hi,

I posted a question to Adaptavist similar to this and got this as a response:

"Please define an individual ID's to your AUI tabs. Once you insert the AUI tab macro, you should define the ID of it, which will act as an anchor tag. You don't need to insert the Anchor macro explicitly to the body content of the AUI Tab page macro.

The page where you are trying to link the TABS page, please click Insert Link- choose advanced--
Paste the full link of page containing AUI TABS followed by # and ID of the tab you want to link."

That might work for you. We export pages and found that the content of the tabs didn't show in the export, so we have gone for creating the content on separate pages, then using the Navitabs macro on each of the pages. This works well for us; the content exports successfully and the pages look similar to when you use the AUI tabs, although you can see a slight page refresh when clicking from tab to tab. Also Navitabs is free.

Please note that if you are using the export, you may want to put the Navitabs in a div with the class=noprint and ensure your PDF stylesheet hides everything with this class, as the tabs don't look good in the PDF.

Just thought I'd give you another option to consider :)

Kind Regards,
Karin

Stephen Williams
Contributor
January 29, 2016

Now that we've upgraded to Confluence 5.8, this option is working for us! One thing that I can suggest is to grab the Tiny URL with the K key and use that in case the page moves or the title changes.

Like Vickie Ponder likes this
boardtc
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.
May 18, 2016

Using the AUI tabs id work perfectly, thanks.

0 votes
YOUNGHO
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!
August 22, 2019

I want to link to a tab other than the Active Tab in AUI.

ex:
- Aui Tab Group> Aui Tab (ID: test1), Aui Tab (ID: test2)

- Active Tab is test1 

- but i want to link test2 

 

Here is what I wrote:
Aui Tab Group> Aui Tab (ID: test1), Aui Tab (ID: test2)

 

link text > Edit > Advanced > link   input: page name # test2

 

I did the above, but it links to Active Tab (test1).

 

how link to aui tab

Karin van Driel
Contributor
August 22, 2019

I think you need to use the full link to the page and no spaces, so something like:

https://yourconfluencedomain.com/display/SPACE/The+page+name#test2

Like # people like this
Sudhir Ramdasi September 22, 2020

This solution is not working for me. Surprisingly in edit mode, it is navigating to the tab id mentioned in the link but outside edit mode it is not working. Any suggestions?

Like Ofer Goren likes this
Val Wirtz
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!
April 29, 2021

I cannot get this solution to work either.  I would also like some other suggestions if possible as I'm doing what Greg mentioned. I have a section of tabs and I am trying to link to a tab within one of these 5 tabs. It does not seem to work correctly using the tab ID.  And I have tried HTML code, Anchors.  Any help is appreciated.

0 votes
Gabe Long
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 23, 2014

Is it possible to link to a specific tab within a set of group tabs? I have a section of 5 group tabs and I am trying to link to a tab within one of these 5 tabs. It does not seem to work correctly using the tab ID. I think this may be because it is already within another tab possibly.

Thanks,
Gabe

0 votes
James Kleinig December 18, 2013

Have you tried the include page macro? Add this macro into the tab container.

I use it all the time with tabs to bring in content from other pages. If I have more than a paragraph or two of content I tend to create pages and include them rather than build up on large page of tabs and content.

Worth considering.

Cheers

James

0 votes
Stephen Williams
Contributor
September 29, 2013

Thanks for your input, Kathy. Unfortunately our company is not using Zen and thus the documentation does not help our current situation.

We are using Confluence 5.1 + RefinedWiki interface.

Kathy September 30, 2013

Ah, sorry about that -- I thought I had received this under my zen listener. Unfortunately, I don't have an answer for the AUI Tabs Macro.

0 votes
Kathy September 23, 2013

Hi Stephen,

Have you tried the technique described in this doc?

http://www.brikit.com/display/help/Section+Tabs

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events