Hello,
I guess this question would be for Bobsie mostly, since he is the creater of the category select modification.
The password modification for templates and the Category Select modification seem to conflict with each other. In site_html_templates.pl file their is a sub called
There are changes made to this sub in both of the modifications. I installed the password modification first, so it looks like the category select mod works, (haven't really tested it thoroughly.
The password modification makes this change to the sub:
# --------------------------------------------------------
# This routine determines how the modify form page will look like.
my %rec = @_;
my $category = &build_select_field ("Category", "$rec{'Category'}");
&html_print_headers;
print &load_template ('modify.html', {
category => $category,
%rec,
%globals
});
}
while the Category select Modification makes thisa change:
my $category = &build_select_field ("Category", "$in{'Category'}");
to read:
if (!@exclude_categories) {
($category = &build_select_field ("Category"));
}
else {
($category = &get_cat_select_list);
}
Do you know how I can make these two modifications work together. Any help is greatly appreciated.
Thanks
------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
[This message has been edited by Ground Zero (edited July 22, 1999).]
I guess this question would be for Bobsie mostly, since he is the creater of the category select modification.
The password modification for templates and the Category Select modification seem to conflict with each other. In site_html_templates.pl file their is a sub called
Code:
sub site_html_modify_formThe password modification makes this change to the sub:
Code:
sub site_html_modify_form { # --------------------------------------------------------
# This routine determines how the modify form page will look like.
my %rec = @_;
my $category = &build_select_field ("Category", "$rec{'Category'}");
&html_print_headers;
print &load_template ('modify.html', {
category => $category,
%rec,
%globals
});
}
while the Category select Modification makes thisa change:
Code:
Change: my $category = &build_select_field ("Category", "$in{'Category'}");
to read:
if (!@exclude_categories) {
($category = &build_select_field ("Category"));
}
else {
($category = &get_cat_select_list);
}
Do you know how I can make these two modifications work together. Any help is greatly appreciated.
Thanks

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
[This message has been edited by Ground Zero (edited July 22, 1999).]