Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Auto listing under countries

Quote Reply
Auto listing under countries
Hi,

I was thinking of a way to make it easier to list a link under both, the main category, and the subcategory under a country.

So, for example,, If I have all the main categories listed also under each country. Then, if a link is added to the category it will show under the same category which is a subcategory of a country.

I thought of this solution, haven't tried yet, wanting to see your suggestions and comments,

The solution is to add a new column in the links table, the column is called countryid, then in the adding form we add a field called country, it would be easier if we make each country ID the same as the country category ID. Then the user will choose both the country and also what category it should be listed in.
Then we need to add a condition in the templates, to show the links when (countryid == categoryid AND when category name of the link == the category name).

Do you think this is possible? I'm sure the benifit is unlimited, its like making SQLinks 2 dimesional :)
Subject Author Views Date
Thread Auto listing under countries Essam 4905 Apr 4, 2002, 6:18 PM
Thread Re: [Essam] Auto listing under countries
Essam 4756 Apr 6, 2002, 10:47 AM
Thread Re: [Essam] Auto listing under countries
Ian 4708 Apr 6, 2002, 11:43 AM
Thread Re: [sooke] Auto listing under countries
Essam 4703 Apr 6, 2002, 12:46 PM
Thread Re: [Essam] Auto listing under countries
Ian 4716 Apr 6, 2002, 12:52 PM
Thread Re: [sooke] Auto listing under countries
Essam 4729 Apr 6, 2002, 7:10 PM
Thread Re: [Essam] Auto listing under countries
Ian 4726 Apr 6, 2002, 7:31 PM
Post Post deleted by sooke
Ian 4680 Apr 6, 2002, 8:01 PM
Thread Re: [sooke] Auto listing under countries
Essam 4726 Apr 6, 2002, 9:55 PM
Thread Re: [Essam] Auto listing under countries
webmaster33 4710 Apr 8, 2002, 2:44 AM
Thread Re: [webmaster33] Auto listing under countries
shriram 4652 Apr 24, 2002, 6:52 AM
Thread Re: [shriram] Auto listing under countries
webmaster33 4686 Apr 24, 2002, 4:08 PM
Thread Re: [webmaster33] Auto listing under countries
shriram 4673 Apr 24, 2002, 5:21 PM
Post Re: [shriram] Auto listing under countries
webmaster33 4655 Apr 24, 2002, 6:49 PM
Thread Re: [webmaster33] Auto listing under countries
Essam 4506 Mar 21, 2003, 11:20 PM
Post Re: [Essam] Auto listing under countries
webmaster33 4536 Mar 22, 2003, 6:12 AM