freshyill
Feb 27 2003, 12:42 PM
Can I have MTEntries category="photos NOT landscapes" or something to that effect? I know I can do AND, but can I do NOT? That's all.
kadyellebee
Feb 27 2003, 02:21 PM
This is something on the feature request list, but not currently built in to MT. AND and OR are the options at the moment

Kristine
freshyill
Feb 27 2003, 02:33 PM
####, that sucks. Seems like a pretty basic thing. I guess I have to change my plans slightly then.
Wait! Brain working...
working...
working...
working...
working...
I found an imperfect solution, just in case anyone cares. On the site I'm making, we'll have some articles set as features, which also will be in another category (news, visual stuff, etc). I'm thinking that instead of just having the "feature" category, I could have "news" and "news features". News features would only appear in the feature area, and news would appear in the other area below it. This way, when I do my archive pages, i could tell the archive to be MTEntries category="News AND News Features."
Right? Am I totally off on this? http://www.theblankeffect.com/test.shtml. Looking at the site will give you a better idea of what I mean. It wouldn't matter normally if a feature appeared in the other area, but the layout is different slightly, and would throw things way off.
stepan
Feb 27 2003, 03:55 PM
You could do this using the
MTFilterCategories plugin.
CODE
<MTEntries category="photos">
<MTFilterCategories exclude="landscapes">
...
</MTFilterCategories>
</MTEntries>
The above will list all "photos" entries but exclude "landscapes".
freshyill
Feb 27 2003, 04:12 PM
Aw, crap! I got myself all ready to do all kinds of stuff, and now you went and made it easy for me again. I'll give it a try. Thanks for the tip!