cmt w07: initial checkin

mlncn's picture

The code doesn't actually quite do anything yet, but almost all the pieces are in place for community-managing of your taxonomy while browsing content. And, you can look at the code if you're very brave. An initial release will be coming to the CMT project page soon.

The cmt.module file is almost 1,000 lines long, plus an include file for the repetitive information of a form dropdown and the .info and .install files (I've been using install and uninstall a lot!)

Settings etc. work and an initial form for adding terms. Lots of thoughts and decisions documented at Agaric's project site.

I owe you all at least a big ol' screenshot of the administration page:

I need to check in with my mentors on organizing code and operating CVS releases.

One exciting realization from the past few weeks is that CMT will be the first module to allow hierarchical taxonomy tagging on the fly, in the format Make a new category > Subcategory > New Term.

It can of course use existing terms. The autocomplete on this will be tricky and dealing with some possible ambiguity (such as "New Term > Existing Term") still has to be worked out.

I also made the decision to create a cmt_term_data table for holding the vote tally, rather than calculating this from votingapi every use, and I also decided not override the module name associated with vocabularies (even though in testing image_gallery and forum didn't care if their vocabulary was listed with 'cmt' as the module), just to be cleaner. I'm in the process of changing the latter.

AttachmentSize
CMT-Agaric-AdminScreenshot.png75.83 KB

Comments

Updated CVS code

mlncn's picture

No release yet, but the code should now not break your site, and you can use the administration pages.

(I'd broken everything by changing the basis of a vocabulary being community managed from if the module name assigned to it is cmt, to checking if there's a vid in the cmt_vocabulary table.)

~ ben melançon

member, Agaric Design Collective

benjamin, agaric

SoC 2007

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week