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!

5 answers

1 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.

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 5 hours ago in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

20 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you