Gossamer Forum
Home : Products : Links 2.0 : Customization :

New Link Additions not posting category

Quote Reply
New Link Additions not posting category
Hi all,

I'm not sure what I've done, but I'm getting a bit frustrated over a relatively simple task. When a visitor adds a link, everything enters ok. It then goes through the add_confirm mod and displays everything they typed with no errors...BUT, when I click on validate in the admin, it shows all the data that was entered EXCEPT the category they selected. I've been looking in every area of my link scripts, templates, search results, and even called NASA & MIT, but could not find anything here I'm doing wrong.

In add.html I have:

<%Category%> where they can select whatever they need.

In add_confirm.html I have:

<%Category%> once again, and it shows up correctly.

In site_html_templates.pl I have:

sub site_html_add_form {
# --------------------------------------------------------
# This routine determines how the add form page will look like.
#
&html_print_headers;

my $category = shift;
$category ?
($category = qq~$category <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));


print &load_template ('add.html', {
Category => $category,
Cat => $cat,
Visa => $Visa,
MasterCard => $MasterCard,
AmerExp => $AmerExp,
Discover => $Discover,
Dinersclub => $Dinersclub,
Checks => $Checks,
Payments => $Payments,
%globals
});
}

sub site_html_add_confirm {
# --------------------------------------------------------
# This routine determines how the add success page will look like.

&html_print_headers;


my $category = shift;
$category ?
($category = qq~$category <input type=hidden name="Category" value="$category">~) :
($category = &build_select_field ("Category", "$in{'Category'}"));

print &load_template ('add_confirm.html', {
Category => $category,
Cat => $cat,
Visa => $Visa,
MasterCard => $MasterCard,
AmerExp => $AmerExp,
Discover => $Discover,
Dinersclub => $Dinersclub,
Checks => $Checks,
Payments => $Payments,
%in,
%globals
});
}


Can someone please tell me what I've missed?????


Perl Hopefull