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

Sidebar Search in a confluence Space

Edited
Deleted user Sep 11, 2018

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

3 answers

1 accepted

4 votes
Answer accepted
Sattesh M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

Deleted user Sep 13, 2018

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.

1 vote
Michelle Rau good
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 13, 2023

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}

Works like a charm. I also wanted to search just pages and show an exerpt.

{livesearch:spaceKey=mySpace|size=medium|placeholder=Search mySpace|type=page|additional=page excerpt}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events