Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: Added new fields - but the DON'T SHOW UP in add.html ...

Quote Reply
Re: Added new fields - but the DON'T SHOW UP in add.html ... In reply to
The tags for those fields in links.db are not used in add.html or modify.html. The reason is, you have not passed any record values to the load_template routine at that point. Instead, you use normal <input> tags in the add.html (for example) template with the name value set to the field's name. For the AltCategories, you need to create a <select> list in sub site_html_add_form of site_html_templates.pl, and then pass it to the template via load_template. Look in that subroutine to see how it is similarly done for the Category field.

I hope this helps.
Subject Author Views Date
Thread Added new fields - but the DON'T SHOW UP in add.html ... Kodak 2575 Aug 24, 1999, 12:44 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Bobsie 2519 Aug 24, 1999, 5:24 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2521 Aug 25, 1999, 6:05 AM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Alex 2521 Aug 25, 1999, 3:55 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2523 Aug 25, 1999, 4:08 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2520 Aug 25, 1999, 4:56 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2518 Aug 26, 1999, 12:34 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Bobsie 2521 Aug 26, 1999, 2:59 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2522 Aug 26, 1999, 3:29 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Bobsie 2520 Aug 26, 1999, 4:30 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2521 Aug 26, 1999, 6:15 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Bobsie 2520 Aug 27, 1999, 12:36 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2521 Aug 29, 1999, 10:49 AM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Eliot 2520 Aug 29, 1999, 12:09 PM
Post Re: Added new fields - but the DON'T SHOW UP in add.html ...
Kodak 2517 Aug 29, 1999, 2:28 PM