Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Template form vs. database editor?

Quote Reply
Template form vs. database editor?
I want to customize the add links page to include info not in the standard form

First, I added new columns via the Database (Editor/Links/Add pull-down menu) function. This included a selectable text form, and some radio button input. This is what is on the Links:Add record form.

Next, I changed the add link page via the include_form.html template. I added the tag to the template (as per the manual, p. 100). The new fields appear on the altered template form, but are just text fields, i.e., they do not have the options of my selectable text form or the radio buttons.

How do I get the revised template form to output the same fields as defined in the Database editor?

Any help much appreciated! Crazy
Roger
Quote Reply
Re: [Roger10] Template form vs. database editor? In reply to
Why do it such a hard way? Wink

You could have just gone in via Database > Links > Properties > Add Column (bottom of page).

Seeing as you have done the other method now, then you need to go to Database > Links > Properties > Re-Sync Tables

That should sort it out for you Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Template form vs. database editor? In reply to
Hmm, thank you Andy for the suggestion.

I didn't see a Resync Tables option (at the bottom of the page) but I did see a Resync Database option. Tried that. Nothing happened.

I am doing this right, aren't I? Maybe I am selecting the wrong column type to see the add page with the fields as I have defined them in the Table Editor/Column Definition page. Using Save/Hashed (not quite sure what this means!)
Unsure
Roger
Quote Reply
Re: [Roger10] Template form vs. database editor? In reply to
Also, I added the tag to show the column (field) in the add page to the form.html template. In the manual it says to add the tag to the form.txt template, which I couldn't find. Is this just a typo in the manual?
Roger