It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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

Using the AUI tabs id work perfectly, thanks.

Hi Stephen,

Have you tried the technique described in this doc?

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

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.

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.

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

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

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you