I am using the Page Tree Search. I want just the results of the search to be displayed within the same page of the search, right below the search after pressing the search button. As it works now after you press the search button it goes to a completely different page. We have a template and want the user to stay on the same page and have the same look and feel versus going to a new page and losing all the navigation they should have with every page.
Basically want to combine the Page Tree Search with the functionality of Search Results Macro - this macro displays the search results within the same page.
Hello Andrena,
The Confluence search and page tree search allow for easy discovery on content, including the ability to quick search for content using available macros. As stated, the search will take you to a search page which will load the dosearchsite.action which is designed to allow for additional search functionality (Search last modified, content type and additional filters).
If you wanted to run a search within an existing page without leaving the page, you can enable HTML on your instance and use an iframe to pre-load the search page. Here are steps on how to accomplish this:
<iframe src="http://confluence.domain.com/dosearchsite.action?queryString=null" noborder="0" width="800" height="400" scrolling="yes" seamless></iframe>
http://confluence.domain.com/dosearchsite.action?cql=space+%3D+"JPRO"
http://confluence.domain.com/dosearchsite.action?cql=parent+%3D+currentContent()
Source Document: How to put an iFrame into Confluence
If this work around does not suit your requirements, you are welcomed to create a feature request. To create a feature request, navigate to Create Feature Request , select suggestion and fill out the required fields. Ensure you tell a story about how this feature will improve the experience and how it will add value. If you do create a feature request, please link it back to this post so other may find this request.
I hope you find this helpful and it give you a viable workaround to have search results displayed on a page without navigating away.
Regards,
Stephen Sifers
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.