Skip to main content.
home | support | download

Back to List Archive

Re: Modifying the screen prompts in swish.cgi

From: J. David Boyd <david(at)not-real.adboyd.com>
Date: Fri Dec 02 2005 - 15:05:25 GMT
Bill Moseley wrote:
> On Fri, Dec 02, 2005 at 06:00:24AM -0800, J. David Boyd wrote:
> 
>>This works well for the initial showing of the screen, but when
>>displaying search results it is right back to the 'advanced' mode.
>>
>>Is there someway to have it always be in 'brief' mode?  I wouldn't even
>>mind totally removing the 'advanced' link from the page.
>>
>>I know no CGI, and don't have a great amount of time to read any books
>>or learn any.  The few things I messed around with in show_form() and
>>swish.cgi all just broke the search facility.
> 
> 
> Search TempalteDefault.pm for "brief".
> 
>     my $advanced_form = $q->param('brief')
>                         ? $advanced_link
>                         : <<EOF;
>         $meta_select_list
>         $sorts
>         $select_index
>         $limit_select
>         $date_ranges_select
> EOF
> 
> Maybe
> 
>     my $advanced_form = $advanced_link;
> 

Thank you very much!  It works wonderfully.

Dave
Received on Fri Dec 2 07:05:25 2005