Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: [Ian Conza] Expire Listing mod

Quote Reply
Re: [Ian Conza] Expire Listing mod In reply to
In Reply To:
In Reply To:
Case sensitive as with all other fields.

>>ExpireDays <<

<%ExpireDays%>

Hey Paul!

Many thanks - changed that in the add form - no error message but no select field shows up either.

http://www.nzcid.org.nz/ads/add.cgi

Do not understand.. I have another select field called region and that works no worries at all.

Anyways assistance appreciated.

I'm up to this step... I tried replacing the cases as stated in the following reply but still get the message

error building select field: no select fields specified in config for field 'ExpireDays'!


IN MY SITE_HTML_TEMPLATES.PL


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

my $expiredays = &build_select_field ("ExpireDays","$in{'ExpireDays'}");

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', {
ExpireDays => $expiredays,
Category => $category,
%globals
});
}
...


AND IN MY LINKS.DEF
...
Soundclip =>[17,'alpha',40,75,0,'',''],
City => [18,'alpha',40,75,0,'',''],
State => [19,'alpha',40,75,0,'',''],
Country => [20,'alpha',40,75,0,'',''],
Telephone => [21,'alpha',40,75,0,'',''],
ExpireDays => [22, 'alpha',10,10,1,'30','30|60|90|182|365']
);
...


MY ADD.HTML

...
<%ExpireDays%>
...


Did I make an error?

Thanks,

Will

Subject Author Views Date
Thread Expire Listing mod davenet 9884 Jul 20, 2000, 1:31 PM
Thread Re: Expire Listing mod
socrates 9680 Jul 20, 2000, 4:20 PM
Thread Re: Expire Listing mod
davenet 9680 Jul 20, 2000, 9:45 PM
Thread Re: Expire Listing mod
jsu 9663 Jul 20, 2000, 11:11 PM
Thread Re: Expire Listing mod
davenet 9703 Jul 21, 2000, 6:29 AM
Post Re: Expire Listing mod
jsu 9687 Jul 21, 2000, 8:30 AM
Thread Re: Expire Listing mod
Stevo 9615 Jul 21, 2000, 8:33 AM
Thread Re: [Stevo] Expire Listing mod
WTrippe 9518 Dec 8, 2001, 5:14 PM
Thread Re: [WTrippe] Expire Listing mod
herbalife 9412 Dec 9, 2001, 11:18 AM
Thread Re: [Ian Conza] Expire Listing mod
Paul 9510 Dec 9, 2001, 11:36 AM
Thread Re: [PaulW] Expire Listing mod
herbalife 9452 Dec 9, 2001, 12:30 PM
Post Re: [Ian Conza] Expire Listing mod
herbalife 9445 Dec 9, 2001, 1:36 PM
Thread Re: [Ian Conza] Expire Listing mod
WTrippe 1865 Dec 12, 2001, 11:42 PM
Post Re: [WTrippe] Expire Listing mod
herbalife 1832 Dec 13, 2001, 11:08 AM
Post Errors
herbalife 9369 Dec 9, 2001, 7:11 PM
Thread Re: [Stevo] Expire Listing mod
herbalife 9447 Dec 9, 2001, 2:30 PM
Thread Re: [Ian Conza] Expire Listing mod
Stealth 9413 Dec 9, 2001, 7:23 PM
Post Re: [Heckler] Expire Listing mod
herbalife 9418 Dec 9, 2001, 7:39 PM
Thread Re: [Heckler] Expire Listing mod
herbalife 9395 Dec 10, 2001, 12:01 AM
Post Re: [Ian Conza] Expire Listing mod
herbalife 9306 Dec 11, 2001, 12:47 PM
Thread Re: [Stevo] Expire Listing mod
herbalife 9420 Dec 10, 2001, 10:36 AM
Thread Re: [Ian Conza] Expire Listing mod
Paul 9398 Dec 10, 2001, 10:42 AM
Thread Re: [PaulW] Expire Listing mod
herbalife 9379 Dec 10, 2001, 3:14 PM
Thread Re: [Ian Conza] Expire Listing mod
WTrippe 9364 Dec 12, 2001, 7:39 PM
Thread Re: [WTrippe] Expire Listing mod
herbalife 9335 Dec 12, 2001, 7:54 PM
Thread Re: [Ian Conza] Expire Listing mod
WTrippe 9334 Dec 12, 2001, 8:51 PM
Post Re: [WTrippe] Expire Listing mod
herbalife 9325 Dec 12, 2001, 8:58 PM
Post Re: [WTrippe] Expire Listing mod
esm 1871 Dec 12, 2001, 9:02 PM