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