Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Search Form customization

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Nov 02 2007 - 15:49:07 GMT
On Thu, Nov 01, 2007 at 01:34:10PM -0400, Bill Traynor wrote:
> How do I modify TemplateDefault.pm to better format my Search page
> that has many, many Indexes listed using the check boxes method?
> 
> I think the relevant code is:
> 
> return join "\n",
>         '<br>',
>         ( $select_config->{description} || 'Select: '),
>         $q->$method(
>         -name   => 'si',
>         -values => [0..$#labels],
>         -default=> 0,
>         -labels => \%map,
>         @cols );
> 
> I'd like to make the check box selection neater, such as in a Table.

You can just loop though @labels creating the check boxes.

-- 
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

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Nov 2 11:49:08 2007