Skip to main content.
home | support | download

Back to List Archive

Re: Modifying the screen prompts in swish.cgi

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Dec 02 2005 - 14:31:05 GMT
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;

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Fri Dec 2 06:31:06 2005