freetagging: let's users select a parent category
Hi everybody, I'm currently playing with the new free tagging feature of drupal 4.7 . A feature I would like to have is permits users to select a parent category while adding a free tag. What do you guys think about this? Fabio
Do you mean something like http://www.webschuur.com/node/445 ? Greg
Bèr is talking about a more complex tagging system... I just want give the user the possibility to select a parent term while creating his free tag. I make an example: Imagine my website has a vocabulary called "World Cities" which is a container of nodes of type "city". The "World Cities" vocabulary has a lists of term in it were continent-country has a parent-child relationship: Europe Italy France Germany Africa Algeria Angola Benin Botswana Imagine that I want to create a "Madrid" city so I would like to tag this as "Spain". If I do this in the current implementation the term Spain will simply became a term at the same level of continents... we will have: Europe Italy France Germany Africa Algeria Angola Benin Botswana Spain So... Would it be useful to permits the user to select were the free tag category he is creating will be created into? I mean a select which will ask which of available term in the vocabulary to be parent of: "Select parent category:" or "Put this tag into:". What do you think about? Greg Knaddison wrote:
Do you mean something like http://www.webschuur.com/node/445 ?
Greg
Bèr is talking about a more complex tagging system...
I think your scenario *is* what Bèr is talking about, and I like his idea.
Imagine that I want to create a "Madrid" city so I would like to tag this as "Spain".
you would type Europe/ for the cagetory, and get a drop-down list of all terms in that term. Not finding Spain, you would continue: Europe/Spain and when you submitted your post the term would be created as a sub-term of Europe. (Caveat: we'd have to disallow some characters in term names (/, :, <, >).
Op dinsdag 31 januari 2006 23:31, schreef Nedjo Rogers:
Bèr is talking about a more complex tagging system...
I think your scenario *is* what Bèr is talking about, and I like his idea. It is :)
Imagine that I want to create a "Madrid" city so I would like to tag this as "Spain".
you would type
Europe/
for the cagetory, and get a drop-down list of all terms in that term. Not finding Spain, you would continue:
Europe/Spain
and when you submitted your post the term would be created as a sub-term of Europe.
And when there is no europe yet, you wuold get: Europe (nothing is autofilled) Europe/Spain On submit, Europe will be made, and after that Spain, as a child of the fresh Europe.
(Caveat: we'd have to disallow some characters in term names (/, :, <, >). We already have this solved with comma's, by regexp-escaping them.
On top of that, it is dead-easy to create a complex form to generate such standard strings. It is (in a way) what we do with advanced search, and what google does in advanced search too. -- PGP ber@webschuur.com http://www.webschuur.com/sites/webschuur.com/files/ber_webschuur.asc PGP berkessels@gmx.net http://www.webschuur.com/sites/webschuur.com/files/ber_gmx.asc
On 31-Jan-06, at 1:13 PM, Fabio Varesano wrote:
Bèr is talking about a more complex tagging system...
I just want give the user the possibility to select a parent term while creating his free tag.
Look at the taxonomy_otf module -- it has this functionality already. -- Boris Mann Vancouver 778-896-2747 San Francisco 415-367-3595 SKYPE borismann http://www.bryght.com
participants (5)
-
Boris Mann -
Bèr Kessels -
Fabio Varesano -
Greg Knaddison -
Nedjo Rogers