Return to Jive Software

Skip navigation
1,224 Views 4 Replies Last post: Feb 3, 2009 1:15 PM by benjamin RSS
dawn Novice 126 posts since
Jun 14, 2007
Currently Being Moderated

Jan 30, 2009 12:33 PM

Customizing Search

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

Will Jive Employee 4,666 posts since
Nov 2, 2004
Currently Being Moderated
Feb 3, 2009 9:00 AM in response to: Dawn Foster
Re: Customizing Search

Hey Dawn,

 

I've asked our website engineer to take a look at this case, as this isn't something we did via Clearspace

benjamin Jive Employee 45 posts since
Jun 28, 2001
Currently Being Moderated
Feb 3, 2009 10:27 AM in response to: Dawn Foster
Re: Customizing Search

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 Jive Employee 45 posts since
Jun 28, 2001
Currently Being Moderated
Feb 3, 2009 1:15 PM in response to: Dawn Foster
Re: Customizing Search

That looks about right to me.

 

Good luck!

More Like This

  • Retrieving data ...

Bookmarked By (0)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.