Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Different Links-tables ?!

Quote Reply
Different Links-tables ?!
While i start my first steps with inlinks i have reprogramed the script in the following way.
Cause i need for different categories different fields and while i dont want the sum of all fields as the definition of a table, i do following:

Table Links: All needed fields for every kind of Link in every category plus one field saying: which addional table is used.
Additional tables: Here i defined all the fields i need for different links:
Example: Category cars -> table cars with fields like: color, age
For category aircrafts -> table aircrafts with fields like: range in km, how many passengers

In links 1.13. i did this with additional fields color, age, range, passengers, and for links in aircrafts i use only range + passengers, for category cars i use only age, color.
You can imagine that with number of fields my links table gets big and bigger

I hope someone (especially Robert ;-) could understand what i mean.

Now i think about, how this is possible in Links, cause with this feature the search-engine again grows up to a real cms, like i have done it with the 1.1.3.

Maybe someone has the same needs ?!


Robert

An example:
Code:
instead: table links:title
desc
...
color
age
passengers
range
i want to use:
table links
title
desc
...
AddTable (enum cars, aircrafts)

and then
table cars
id
linkid
age
color

table aircrafts
id
linkid
range
passengers



Now i imagine, i could do this directly from the admin, add, modify, del additional tables;
automatic field for links, category, user .... that would be the killerap itself, i think.

What do you mean?



Robert

Last edited by:

Robert: Jan 18, 2002, 8:47 PM