Home : Products : Links 2.0 : Customization :

Products: Links 2.0: Customization: Re: [Heckler] Expire Listing mod: Edit Log

Here is the list of edits for this post
Re: [Heckler] Expire Listing mod
In Reply To:
BTW: I wrote a similar and less complicated mod for DBMAN that works with Links because of the flat files being similarly structured. I posted the codes for the MOD in the DBMAN CUSTOMIZATION FORUM about a year ago.

Tried searching - can u give me some key words.. Tried all sorts of words. Unsure

BTW I am using your password mod and decided I use it with this directory - however using everything the same from the other directory I cannot get the ExpireDays select field to show up. It just shows as whatever the user has in that select box in text but not the select box.

Man this ExpireDays is getting to be Crazy It might appear to be what Paul says but I made sure the case is right and tested the different ways.. so I sure it is not that.

The code I use in the modifyhtml to bring these selects fields up is:

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'}");
my $expiredays = &build_select_field ("ExpireDays","$rec{'ExpireDays'}");
my $region = &build_select_field ("Region","$rec{'Region'}");

&html_print_headers;
print &load_template ('modify.html', {
category => $category,
Address => $address,
region => $region,
ExpireDays => $expiredays,
Password => $password,
%rec,
%globals
});
}

Last edited by:

Ian Conza: Dec 10, 2001, 12:09 AM

Edit Log: