Is the use of deck and cards (tabs) incompatible with the search function?

We are trying out the tabs plugin (deck and cards macro) in our test Wiki. It seems to work great, but we are concerned about searching and linking:

1. Search: If some term is on, say, the fourth tab, a Wiki search for that term will find the page, but the link brings you to the default tab (which will usually be the first one). Is it possible to force the search to point to the fourth tab? If not, the search term effectively dooesn't yield good results.

2. Linking: Is it possible to link directly to a tab other than the default one? Otherwise we have to provide a link and tell the user to click on whichever tab we want to show them.

We are reluctant to roll this feature out to the full Wiki without resolving these issues.

Running Confluence 3.1.



2 answers

1 accepted

0 votes
Accepted answer

Hi Jim,

There isn't any way for a page to know what word was originally searched for by the user, so displaying the approriate tab is basically impossible in this case - there simply isn't the information required to do it by Confluence itself.

With regards to linking to a specific tab from another page, in the current version it is not possible, but for the version that will ship for Confluence 4.0, it will be possible by adding a '#TabLabel' type value to the URL. Check out the documentation for the plugin when it is released.


David Peterson

Oops: 'without those functions'

Thanks guys. I think with those functions, we won't be installing the plugin. It makes the search a mess.

Some versions of Confluence broke the {deck} and {card} part of the composition plug-in. I know not which ones, but would guess it is pre-3.3. You might check the support link here:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

909 views 45 7
Join discussion

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