QUOTE (rob_m @ May 23 2008, 08:59 AM)

site_category="<$MTCategoryLabel$>"
The javascript resides in my header template, and when I use this approach, I get the error message "You used <$MTCategoryLabel$> outside of the proper context".
If that header is used across your entire site, this is correct. Think of it like this: What category is your main index in? The question doesn't even make sense. The
doc page for CategoryLabel will show you where this tag is acceptable.
QUOTE (rob_m @ May 23 2008, 08:59 AM)

I've also tried <$MTEntryCategory$> with the same result.
Pretty much the same thing here. This tag expects to appear in an entry context(eg. individual archive, or within an Entries loop.) So what's the entry_id of your "blah" category archive? Right.
As far as your code snippet and what you're trying to get done, it looks like you're trying to attach a category to your entire
blog, and there's no such thing as a blog-level category field, so first what exactly do you expect to be showing up in there, and where are you expecting it to come from? And is that "site category" going to change so much you can't just hard-code this? There are easy ways to simply make your snippets shut up and work, but I don't know that they'd really make much sense, since the value would keep changing.