Make Synonyms work with Free Tagging
eli - May 10, 2007 - 05:59
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | taxonomy.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
This is a simple patch to taxonomy_node_save() that checks if a listed tag is actually a synonym for an existing Term.
Current behavior would create a new term for a tag, even if it is already listed as a synonym somewhere else.
With this patch, if you enter a tag that is listed as a synonym, it actually tags the node with the root Term for that synonym.
| Attachment | Size |
|---|---|
| taxonomy_syn.patch | 710 bytes |

#1
This will only go in Drupal 6.x. This sort of functionality change is not appropriate for the stable Drupal 5.x.
The coding standards should be followed (http://drupal.org/coding-standards), including always using {} and more spacing.
#2
this'd be great. I've wanted a solution to have terms entered as "John Doe" but rendered as "Doe, John" easily for a while, and it's as good a solution as any. Not for this release cycle though :(
#3
Marking as duplicate of http://drupal.org/node/201269 (which is also for 7.x).
6.x version is available in contrib at http://drupal.org/project/synonym_collapsing.
#4