views:

18

answers:

1

For my site, i would add a category system to organize content just like the drupal taxonomy. Do something like this already exist?

A: 

You should code these tables:
1. taxonomy vocabulary (vocabulary id, name)
2. taxonomy terms (term id, name, vocabulary id, order)
3. taxonomy link to your content (term id, content id)

And you should have content table, that has content id.

Now you should write code that will add/delete/edit vocabularies and terms. In content editing you should provide linking to term (selecting vocabulary somewhere or here and assign term id -> add to 3rd table).

After this you should provide listing of terms, listing of content type that has some term and etc...

p.s. Use drupal instead of your own code, because drupal tested by hundreds of developers in more than 10 000 hours, than your code with 1 people in less than 100 hours :)

Nikit
Thank you. I will try that way =)
cedivad