From bf9d98d6649472394e44eed988bd4778e90abb2e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 8 Apr 2005 14:59:14 +0000 Subject: - Patch #19697 by Morbus: FOLKSONOMY. This patch adds folksonomy support to Drupal (named internally as "Free tagging"). In a nutshell, the core difference is the input method: unlike normal taxonomies which are administratively controlled, a "free tagging" vocabulary allows tag creation when the node is submitted. It does this through an text input box, as opposed to a dropdown or selectbox. This patch: * Removes the useless "Preview form" of a vocabulary. * Alters the vocabulary table to include a new "tags" column. * Adds a new "Free tagging" preference on vocabulary creation/editing. * Modifies the vocabulary overview to support pagers for free tagging vocabs. The new code integrates tightly with the existing taxonomy code. The only additional processing occurs on node save and edit, where we parse through the tags associated with a node. All other display (and thus, code) remains the same. --- database/database.pgsql | 1 + 1 file changed, 1 insertion(+) (limited to 'database/database.pgsql') diff --git a/database/database.pgsql b/database/database.pgsql index 700338608..64a63215d 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -738,6 +738,7 @@ CREATE TABLE vocabulary ( hierarchy smallint NOT NULL default '0', multiple smallint NOT NULL default '0', required smallint NOT NULL default '0', + tags smallint NOT NULL default '0', module varchar(255) NOT NULL default '', weight smallint NOT NULL default '0', PRIMARY KEY (vid) -- cgit v1.2.3