Removing search box from results page

Post Reply
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

Removing search box from results page

Post by hqweb0 »

hi,
is there a way to remove the search box for the results page for just one Profile?

It seems to apply to all profiles.

thanks.
Niamh
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Removing search box from results page

Post by jason112 »

You can choose a results style of "XSL Stylesheet" for that profile, and then apply a customized XSL stylesheet (based off of the default one) that doesn't include a search box.
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

Removing search box from results page

Post by hqweb0 »

I don't see a results style of xsl stylesheet in the search settings page. Is this something I have to add to the search script? Also where is the default xsl stylesheet? thanks.
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Removing search box from results page

Post by jason112 »

Sorry, that's a Search Appliance feature, which is not
present in Webinator. I didn't notice which forum this was in.

The only way to achieve this with Webinator would be to edit a result style function in the search script, you could add a <if $pr neq "someProfile"> around the code that prints the HTML search box.
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

Removing search box from results page

Post by hqweb0 »

that worked. thanks a lot.
Post Reply