Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,441
Community Members
 
Community Events
176
Community Groups

Sidebar Search in a confluence Space

Edited

Is it possible to have a sidebar search box within the space.

 

The space is pretty huge with a lots of pages. Hence the page tree is also bit complicated.

I believe a search bar above the page tree could be of huge help in this!!

 

Could this be attained with configuration in the look and feel?

 

Thanks in Advance!!

2 answers

1 accepted

3 votes
Answer accepted
Sattesh M Atlassian Team Sep 13, 2018

Hello Solomon, you can indeed do this.
We just have to add the Livesearch macro to the sidebar using Wiki markup.

{livesearch:spaceKey=all spaces|size=medium|placeholder=Search}


To enable for all spaces, add the line above into the Sidebar section of the Sidebar, header and footer admin page.

  • (ConfluenceBaseURL)/admin/custompagecontent.action

If you would like to add it to certain Spaces only, add it to the Sidebar, header and footer for that specific Space.

  • (ConfluenceBaseURL)/spaces/custompagecontent.action?key=<SPACEKEY>
  • Replace <SPACEKEY> with the Space key of the specific Space.

Hope that helps! :)

Cheers,
Sattesh

Hello Sarah,

The answer is perfect! I have implemented it.

Thank you very much for your response! Really appreciated.

 

Thanks,

Solomon Cherian

Works great! To clarify, the wiki markup with "spaceKey=all spaces" can be modified to restrict results to a single space by using the appropriate space key in place of "all spaces". This can be done whether the macro is placed globally or within a single space.

This works great and I like to put "search only this space" as a placeholder, to clarify that it will return only results from the current space. So it looks something like this:

{livesearch:additional=none|id=LiveSearch01|placeholder=Search only this wiki|spaceKey=Mywiki|size=small}

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events