Want to include LiveSearch on each page of a space


I would like to add a space search (LiveSearch) to each page in a space that just search the space content.

I see you can do it by editing a page layout temnplate (viewtracker example)

         div id="main-content" class="wiki-content"


Live space has a property which ask which space to search, if not is entered, it searches all of Confluece.  It takes a space name

But how do I add the space name to this.  I am guessing replace 'viewtracker' with 'livesearch', then a comma and space name?  $helper.renderConfluenceMacro("{livesearch, SPC}")?

And can I do that dynamically (i.e. pulls the space key automatically)


Mr. V


0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 3 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

38 views 2 3
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