Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Advice please (link-types)

Quote Reply
Advice please (link-types)
Dear all,

Please let me know if the following approach is correct:

I would like users to identify what TYPE of link they are adding.
The add-form should contain 3 radio-buttons (with only one choice possible):

O website
O classified_ad
O article

When the link is submitted the database should register the link-type.

Which code do I add to the add-template and how precisely, do I add a colom called link_type to the database?

I think this will allow me to present 3 seperate lists of links (one for each link-type) on each category page using: <%if website%>, <%if classified_ad%> and <%if article%>.

The lists of websites and articles will be alphabetically ordered, but I'm wondering if it is possible to have the classified ads ordered chronologically? In Setup there is only one option to set the order of links.

At a later stage I would like to plug in "Ëxpire Links" for the classified ads, and "Attachment" for the articles.

All comments and help is very welcome! (I am a beginner)

Cheers, Diederick
Subject Author Views Date
Thread Advice please (link-types) diederick 2684 Jul 7, 2003, 2:16 PM
Thread Re: [diederick] Advice please (link-types)
Andy 2601 Jul 7, 2003, 11:57 PM
Thread Re: [Andy] Advice please (link-types)
diederick 2602 Jul 8, 2003, 1:05 AM
Thread Re: [diederick] Advice please (link-types)
Andy 2608 Jul 8, 2003, 2:02 AM
Thread Re: [Andy] Advice please (link-types)
diederick 2579 Jul 8, 2003, 3:33 AM
Thread Re: [diederick] Advice please (link-types)
Andy 2579 Jul 8, 2003, 3:56 AM
Thread Re: [Andy] Advice please (link-types)
Paul 2580 Jul 8, 2003, 4:38 AM
Post Re: [Paul] Advice please (link-types)
Andy 2571 Jul 8, 2003, 4:45 AM
Thread Re: [diederick] Advice please (link-types)
diederick 2566 Jul 8, 2003, 5:38 AM
Thread Re: [diederick] Advice please (link-types)
yogi 2561 Jul 8, 2003, 5:54 AM
Post Re: [yogi] Advice please (link-types)
diederick 2554 Jul 8, 2003, 11:02 AM