I'm curious how you customized your search in the navigation bar to have different options to search different areas of the site.
What would it take to do something similar that searches:
* website
* community (Clearspace 2.5.4)
* knowledge base (one specific community within CS with a bunch of subcommunities - recursive)
Thanks,
Dawn
Hi Dawn-
Will is right, this is (almost) 100% outside of Clearspace.
We started implementing this on the Jive website, and later added it as part of our community theme.
In short, there's custom JavaScript and CSS which change the text of the search box to give user feedback on where they will search and also change the arguments sent when the search is POSTed.
Behind the scenes, a Struts Java action determines where the search was meant to go. If it was supposed to stay on the website, it sends the query to our website search engine and displays the result via the website itself. If it was intended for the community, it sends the user with search arguments into the community search page where Clearspace powers and displays the search.
If you wanted, all of the "which search engine to use" logic could be done in javascript.
We don't currently have a search that focusses on only a sub-community of JiveSpace, but I'm sure that could be done, you'd just have to pay attention to how Clearspace uses its search arguments.
Hope that's helpful!
Benjamin - It's great to hear from you!
I was pretty sure that it was done outside of clearspace, and I'm thinking it should be fairly straightforward to do something similar even when searching a specific subcommunity by using the community ids in the search argument.
I'm guessing something like this to get documents in a specific community (and it's subcommunities)
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us