Gossamer Forum
Home : Products : DBMan : Customization :

Re: Newbie Alert, Newbie Alert

Quote Reply
Re: Newbie Alert, Newbie Alert In reply to
Awake,

Use WordPad or EditPlus. I use WordPad, which allows me to work with large files. EditPlus is another nice text editor that works well with cgi, perl, and javascript codes.

You can add a search box to your home page. Take a look at the following web page:

www.anthrotech.com/career/

You can simply add the following codes to your home page:

Code:
<form action="/cgi-bin/dbman/db.cgi" method="get">
<input type="hidden" name="db" value="default">
<input type="hidden" name="uid" value="default">
<input type="text" name="keywords" size="30" maxlength="200">
<input type="submit" name="view_records" value="Search Database">
</form>

Of course, you can add other hidden fields for the following form variables:

so = sort order

Code:
<input type="hidden" name="so" value="ascend">

Change ascend to descend if you want your records to appear in descending order.

sb = sort by

Code:
<input type="hidden" name="sb" value="1">

Change 1 to the field number that you want to sort by in your %db_def section of your default.cfg file.

Hope this helps.

Regards,


------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited September 26, 1999).]

[This message has been edited by Eliot (edited September 26, 1999).]
Subject Author Views Date
Thread Newbie Alert, Newbie Alert Awake 3309 Sep 26, 1999, 12:29 PM
Post Re: Newbie Alert, Newbie Alert
mdj1 3194 Sep 26, 1999, 1:00 PM
Post Re: Newbie Alert, Newbie Alert
Eliot 3206 Sep 26, 1999, 1:16 PM
Post Re: Newbie Alert, Newbie Alert
Awake 3207 Sep 26, 1999, 1:27 PM
Post Re: Newbie Alert, Newbie Alert
Eliot 3199 Sep 26, 1999, 1:42 PM
Post Re: Newbie Alert, Newbie Alert
JPDeni 3211 Sep 26, 1999, 1:45 PM
Post Re: Newbie Alert, Newbie Alert
Awake 3194 Sep 26, 1999, 2:11 PM
Post Re: Newbie Alert, Newbie Alert
donm 3203 Sep 26, 1999, 4:31 PM
Post Re: Newbie Alert, Newbie Alert
Eliot 3188 Sep 26, 1999, 4:36 PM
Post Re: Newbie Alert, Newbie Alert
Awake 3194 Sep 26, 1999, 5:03 PM
Post Re: Newbie Alert, Newbie Alert
mdj1 3194 Sep 27, 1999, 9:56 AM