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

How do you limit a search to group of pages?

Desmond McRory
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2011

I'm writing a wiki-based user guide. How can I create a search box that limits its search to the pages in the user guide?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
TomC
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 14, 2011

Hi Desmond, A simple approach is to use the Pagetree Search macro, which by default limits the search to children of the parent page you place the macro on. There is a parameter you can use to specify the root (parent) page, if the search box doesn't appear on or only on, the parent page. See details here:
http://confluence.atlassian.com/display/DOC/Pagetree+Search+Macro

(this is for v3.5...select documentation for other versions of Confluuence through the link at the top of the page).

You might also consider the Documentation theme to have a handy nav panel available for the user's convenience (in addition to the ability to find documents via search). You can see the theme in action at the link above, as Atlassian uses that theme for its own documentation (available for any spaces via Browse>Space Admin>Themes if you are running a 3.x version of Confluence).

Desmond McRory
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2011
That worked. Thank you, Tom!
TAGS
AUG Leaders

Atlassian Community Events