Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

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!!

1 answer

1 accepted

2 votes
Answer accepted

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,917 views 33 137
Read article

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