Is this using the new tag schema introduced for the 0.6 schema? Owen should really comment on this, but as I understand it the best way to do this would be to create a new tag schema which actually uses the database hierarchy.
I'm not sure if the core API is in place to even do that yet, but if its not this would probably be a good opportunity to flesh that out. On Sep 23, 2008, at 4:19 PM, Nathan Hammond wrote: > > I'm writing a plugin to support a hierarchical tagging system. I've > got most all of the functionality written, I just need to hook it into > Habari. > > The basic premise is this: > 1. User submits a piece of content with tags. The tags look something > like this: > AJAX,jQuery/plugins/Form,JavaScript > > 2. Plugin processes the tag string with preg_replace (was faster than > explode and implode) turning it into: > AJAX,jQuery/plugins/Form,jQuery/plugins,jQuery,plugins,Form,JavaScript > > 3. Tags are inserted(/updated) based upon this string. > > Once here everything else is essentially a display trick: > 1. Don't display tags with a "/" in them. > 2. When counting tags, ignore those with a "/" in them. > 3. Add a new theme function that is able to process the list of tags > into a hierarchical list. > > I need to tap in at (three?) points: > 1. Every time tags are inserted or updated. > 2. Determining tag count (for dashboard). > 3. Every time tags are output. (filter_post_tags_out? Others?) > > Which hooks do I need? Do they exist? Help! (And thanks!) > Nathan Hammond > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/habari-users -~----------~----~----~----~------~----~------~--~---
