next up previous contents index
Next: 5.4.4 Displaying SOIF attributes Up: 5.4 Customizing the Broker's Previous: 5.4.2 Example BrokerQuery.cf customization

5.4.3 Integrating your customized configuration file

The BrokerQuery.pl.cgi configuration files are kept in $HARVEST_HOME/cgi-bin/lib. The name of a customized file is listed in the query.html form, and passed as an option to the BrokerQuery.pl.cgi program.

 

The simplest way to specify the customized file is by placing and <INPUT> tag in the HTML form. For example:

        <INPUT TYPE="hidden" NAME="brokerqueryconfig" VALUE="custom.cf">

Another way is to allow users to select from different customizations with a <SELECT> list:

        <SELECT NAME="brokerqueryconfig">
        <OPTION VALUE=""> Default
        <OPTION VALUE="custom1.cf"> Customized
        <OPTION VALUE="custom2.cf" SELECTED> Highly Customized
        </SELECT>



Duane Wessels
Wed Jan 31 23:46:21 PST 1996