Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Need specific links properties, reciprocal link yes or no radio or checkbox

Quote Reply
Need specific links properties, reciprocal link yes or no radio or checkbox
Hi, I've been trying to add specific links properties to my tourism directory running links 3.10, so far no luck. I want to offer three different fields, Reciprocal Link, Receive Mail and Enhanced Listing where the link owner can choose either yes or no and then the script can rank the listing based on what they choose. I'm stuck on the link properties options and can't make it work. I have them as ENUM(No, Yes) Not Null - Yes Default - Yes Receive Mail SELECT
I also need to somehow code the form into my add / modify links page. This has been stumping me for months, so thanks for your help in advance.
Quote Reply
Re: [dlarocque] Need specific links properties, reciprocal link yes or no radio or checkbox In reply to
This for GLinks, not Links2 (flatfile) ?

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] Need specific links properties, reciprocal link yes or no radio or checkbox In reply to
you're right, sorry, it's for Gossamer Links 3.1 - should I delete this thread and repost?
Quote Reply
Re: [dlarocque] Need specific links properties, reciprocal link yes or no radio or checkbox In reply to
NP - I've moved it for ya ;)

Quote:
I'm stuck on the link properties options and can't make it work. I have them as ENUM(No, Yes) Not Null - Yes Default - Yes Receive Mail SELECT
I also need to somehow code the form into my add / modify links page. This has been stumping me for months, so thanks for your help in advance.

To benerate the HTML in the forms, you could try this free plugin of mine:

http://www.ultranerds.com/...x/MakeFormHTML_L273/
(you would also need ULTRAGlobals, which is another free one - and linked in my signature)

For the field properties - you would probably want something more like:


Code:
Column Name: ReceiveMail
Column Typ: CHAR
Column Size: 6
Not Null Yes
Default Yes

Form Display : Receive Mail
Form Type : SELECT
Form Size : 1

Form Name: Yes / No
Form Values: Yes / No

..and that should be it.

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] Need specific links properties, reciprocal link yes or no radio or checkbox In reply to
thanks Andy, I'm working through those solutions right now.
Dan