I've been mucking around this evening with a plugin that allows you to configure sidebar plugins to be visible depending on the category. For example, you could have an HTML nugget that only displays when the category 'X' (or an article from category 'X') is being displayed.
I wanted to do this per sidebar plugin configuration page, so I added two extra event hooks into the core to be able to tweak these configuration pages on the fly.
There's probably a better way to do this, and I already know a few places where the code isn't particularly efficient.. My excuse is that I've only just picked up the methodology for writing an s9y plugin from existing code (the API docs didn't really cover what I needed, but still helped)..
I'd appreciate constructive comments from those with experience in the s9y codebed!
The plugin, including a diff against version 1.1.1 can be found at <http://simon.butcher.name/uploads/2007/ ... ry-0.1.zip>.
Thanks,
- Simon[/url]