Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

I have a requirement to customize WSS 3.0 search

Question posted by: amithaayyappan (Newbie) on May 5th, 2008 09:04 PM
I have a site collection with three levels of subsites. If I search from the top level site, the out of the box search of WSS 3.0 will fetch me the result from entire site collection. I want this entire site collection search to happen from my subsites also.

For this I am planning to have the dropdown with two options: 'This site' and 'All sites'(just like in MOSS). Is there anyway I can accomplish this? Please help me!!!

I noticed the following difference in the second querystring(u) in search pages of top level site and sub site

http://MyWeb/_layouts/searchresults.aspx?k=Columbia& u=http%3A%2F%2FMyWeb
http://MyWeb/Administration/Finance...chresults.aspx? k=Columbia&u=http%3A%2F%2FMyWeb%2FAdministration%2FFinance

Is there any way to manipulate the second querystring using SharePoint Designer and get my requirement done? Or is there any other solution for this?

Thanks
Amitha.P
jhardman's Avatar
jhardman
Moderator
2,263 Posts
May 6th, 2008
07:39 PM
#2

Re: I have a requirement to customize WSS 3.0 search
Quote:
I have a site collection with three levels of subsites. If I search from the top level site, the out of the box search of WSS 3.0 will fetch me the result from entire site collection. I want this entire site collection search to happen from my subsites also.

For this I am planning to have the dropdown with two options: 'This site' and 'All sites'(just like in MOSS). Is there anyway I can accomplish this? Please help me!!!

I noticed the following difference in the second querystring(u) in search pages of top level site and sub site

http://MyWeb/_layouts/searchresults.aspx?k=Columbia& u=http%3A%2F%2FMyWeb
http://MyWeb/Administration/Finance...chresults.aspx? k=Columbia&u=http%3A%2F%2FMyWeb%2FAdministration%2FFinance

Is there any way to manipulate the second querystring using SharePoint Designer and get my requirement done? Or is there any other solution for this?

Thanks
Amitha.P

Yes, this is definitely changeable. The only thing is there are a dozen ways this information could be handled, so it is hard to guess without seeing your code where the change needs to be made. you might wnat to search your code for "MyWeb%2FAdministration%2FFinance" or "urlencode(MyWeb/Administration/Finance)" Let me know if this helps.

Jared

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,938 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top ASP Forum Contributors