On Jul 8, 2008, at 10:56 PM, Dave Mangot wrote:
Is there a way to mark a blog category as excluded from the main aggregation of blog postings on the main page? Should I just edit the SQL in Blog.Macros directly? If so, I'm not sure which table I should be looking at.
We have a new blog category that only a small subset of the company cares about.
If you look at the Blog.Macros page you'll see it accepts a "category" velocity variable that you can set.
You can also modify the HQL query in Blog.Macros page to suit your needs if you want.
Actually, the funny thing is I want to include everything BUT a specific category. Being able to include one category is pretty neat and I could see how that would be useful. I've tried a variety of syntaxes for NOT and OR both in #set($category = "") and Blog.Macros, but no success yet. I've also tried specifying multiple categories with AND, but no success there either. :( -Dave -- Dave Mangot Terracotta Inc. 650 Townsend St. Suite 325 San Francisco, CA 94103 USA +1 415 738 4059 [email protected] This e-mail incorporates Terracotta's confidentiality policy, which is online at http://www.terracottatech.com/emailconfidentiality.shtml