Gossamer Forum
Home : Products : DBMan : Customization :

Advanced & Simple Search

Quote Reply
Advanced & Simple Search
I am trying to add a 'simple' & 'advanced' search feature to DBMan. Simple will be for everyone and Advanced will be for Admin.

I am using the User-friendly html.pl 'mod'. A std copy of db.cgi.

In the html.pl file I use, html-imagesADV.pl, I have created the following sub routines;
sub html_search_options_adv - A copy of sub html_search_options
sub html_record_form_adv - A copy of sub html_record_form
sub html_view_search_adv - A copy of sub html_view_search

In the sub, sub html_footer, I added this;
print qq!| <A HREF="$db_script_link_url&view_search_adv=1">Adv. Search</A> ! if ($per_admin);

I can see the menu item 'Adv. Search' as appropriate but get this error;
Error: Unknown Action
The database program received a command that it did not understand.

What am I missing?

Here are links to my various files;
http://www.edward-ramos.net/...s/html-images.pl.txt
http://www.edward-ramos.net/...efaultimages.cfg.txt

At this point i'm just trying to get it to work with standard code, I will modify it after getting it past this.

Ed 8-)
Subject Author Views Date
Thread Advanced & Simple Search ewramos 3520 Jul 25, 2006, 8:58 AM
Thread Re: [ewramos] Advanced & Simple Search
JPDeni 3449 Jul 25, 2006, 9:49 AM
Thread Re: [JPDeni] Advanced & Simple Search
ewramos 3451 Jul 25, 2006, 10:04 AM
Post Re: [ewramos] Advanced & Simple Search
JPDeni 3446 Jul 25, 2006, 10:12 AM