Help - Search - Members - Calendar
Full Version: MTEntries category & days properties incompatible
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
eyevee99
The days property overrides the category property in an MTEntries tag.

eg,

CODE
<MTEntries category="blah" days="1">
</MTEntries>


Will ignore the category tag and print all entries meeting the days criteria.

These should work together. ie, it should only print entries meeting both criteria.
maddy
QUOTE
NOTE: you can combine lastn, category, and author to filter the list of entries (days, however, should be used by itself; if it is used with any other attribute, the other attribute will override it).


Tags section of the manual. smile.gif
eyevee99
Ok, I missed that. But it does exactly the opposite to that anyway.

And really, why should it be any different to the other properties?

Can you do date based filtering?

eg, show all entries after a specified date
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.