Dec 23 2004

LJ Crossposting and MTIfCategory

Published by Andrew at 2:03 PM under Uncategorized

I finally got this thing to cross post to Live Journal the way I’ve wanted to all along.
Previously I was using the LJCrosspost plugin in my individual archives template to cross post every entry to LJ. I didn’t really like that solution, as I wanted to be able to select which entries were cross posted and which stayed exclusivly here.
Finally I found Brad Choates “Category Tools” plugin which added the “MTIfCategory” container tag (a tag that should have been in the main MT code base all along), which appeared to give me exactly what I was looking for. Problem is it just didn’t work.

After much poking and prying, I finally notied in his documentation on that tag the part about “(in the context of a category archive template)”. DOH!
Anyway, moving the code snippit from the individual archive template to the category archive template (along with the addition of the MTEntriesHeader tag) solved the problem.