zevenseas CKS-EBE Search Feature

Rating: No reviews yet
Downloads: 349
Released: Mar 14, 2008
Updated: Aug 1, 2008 by danielmc
Dev status: -not yet defined by owner-

Recommended Download

Source Code zevenseas CKS_EBE Search.zip
source code, 5K, uploaded Aug 1, 2008 - 349 downloads

Release Notes

One of the first questions I've been receiving from customers who are looking to deploy the CKS:EBE is "Where is the search box?". While there are a number of solutions to this problem, I thought it might be useful to share the approach, source and solution that I have taken.

The Solution
The approach I decided to take was to create a feature composed of two core components:
  • A new page, configured to include the core search web parts
  • A new, more flexible search box (zsSearchBox), which can be used from any theme masterpage

  1. Download the solutions package below.
  2. Unzip the package onto a SharePoint front end server
  3. Either run the "Install.bat" file from the command-line (installs to all Web Applications) or for more control manually install the .wsp solution files.

This will install two solutions:
a) zevenseas Community Solutions
This installs the files needed to access the evolving zevenseas Community Solutions library. Its a library that will grow over time to include a number of solutions for SharePoint. The first of these is the more flexible search box. This operates at the farm level, and is activated automatically.

b) zevenseas CKS:EBE Search
This is the feature which, when installed, can be activated on any CKS:EBE site, to add the search functionality.

Once these solutions have been installed, you will need to add the new zsSearchBox to your theme masterpage.

Adding the zsSearchBox to your theme.master page
1) Open your theme.master page using SharePoint Designer
2) Add the following line to the registrations at the very top of the page:

<%@ Register TagPrefix="zs" Namespace="zevenseas.Community.Web.UI.WebControls" Assembly="zevenseas.Community.Web, Version=, Culture=neutral, PublicKeyToken=613a6064cdb9c7d1" %>

3) Find the location in the source where you would like to insert the search box and then place the following:

<zs:zsSearchBox SearchResultPageURL="/search.aspx" searchboxwidth="140" ShowAdvancedSearchLink="false" runat="server" />

The zsSearchBox
The zsSearchBox currently supports a number of parameters, for example:

Integer in pixels.
Sets the width of the search box.
Default = 420

Determines whether a link to "Advanced Search" is dipslayed.
Default = true

String relative URL
The URL of the Advanced Search page.
Default = "/SearchCenter/Pages/advanced.aspx"

String relative URL
The URL of the Blog search page
Default = "/search.aspx"

Version History
*1.1 Released including
  • Fixed an issue that would sometimes result with a 401 during activation

Reviews for this release

No reviews yet for this release.