From: rick c <rickcock...@gmail.com>
Date: Tue, 24 Nov 2009 22:33:54 -0800 (PST)
Local: Wed, Nov 25 2009 1:33 am
Subject: Tags as Terms
As you all know, one of the goals for Habari 0.7 is to implement
taxonomy. One aspect of this is implementing tags as terms in a tags vocabulary. We've been working on this in a branch. It now seems to be at a usable state, so the changes were merged into trunk in r3829 and r3830. The code needs some love yet, but maybe with it in trunk, it will get more. As with all major updates, I'd recommend backing up your db before
One unavoidable side effect of this change is that any plugins or
$tags = DB::get_results( 'SELECT * FROM ' . DB::table('tags') );
This will no longer work. Instead use
$tags = Tags::get();
More complex SQL will still require SQL. The new SQL will be more
{tags} should be {terms}
Tags are now a vocabulary among many possible vocabularies, a
Another point to keep in mind is that the terms equivalent for
SELECT term as tag_slug from {terms}
One other change, we tried to make tags something that isn't limited
Rick
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||