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
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.

AttachmentSize
taxonomy_syn.patch710 bytes

#1

drumm - June 14, 2007 - 06:44
Version:5.1» 6.x-dev
Status:needs review» needs work

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

catch - October 24, 2007 - 14:05
Version:6.x-dev» 7.x-dev

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

cwgordon7 - January 15, 2008 - 22:23

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

cwgordon7 - January 15, 2008 - 22:23
Status:needs work» duplicate
 
 

Drupal is a registered trademark of Dries Buytaert.