Quote from: Dr. at Aug 04, 2007, 08:30 AM
Does it still work with Ditto with this modification?
Hi Doc,
To be honest, I couldn’t tell you

I’m actually using the tagging extension in Ditto 2 for my summary pages, with tagLinks for the actual post pages.
If I understand the relevant code, it shouldn’t make any difference, because the Ditto usage pulls the tags directly from the ’value’ parameter (is that correct?). That should bypass this change, which only applies when $value is not set.
I realised where the problem was when I saw that $value would always be a $delimiter-separated string, while gettemplatevaroutput returns an array. The implode simply creates a $delimiter-separated string from the array, which is subsequently re-exploded by the following code. You could probably make things slightly more efficient by exploding $value as soon as it’s checked and not exploding it later, but that was two changes in code that I’d already hacked considerably
Incidentally, I’ve got a whole load of other modifications to this script, mostly to allow for a single category page (specified by id), using Ditto’s tagging extension to customise it, rather than create separate pages for each category (it seemed a lot more flexible). I can post it if you like.