i am trying to show the first four entries of a particular category.
is there a way to do this?
…or if i could show the first four greater than or equal to today’s date that would be fine too.
if i use lastN i get the latest ones i have added by publish date…which i expect.
the idea is i want to show events coming up each week. each event is an entry. i alter the publish date to be the event start date, so i can enter many events that are coming up.
perhaps this could be done with the assets tag?
any assistance would be appreciated.
this is the code i used which gets me the most recent entries (i.e., in my case, the future events months away).
<$mt:EntryTitle$>
<$mt:EntryBody$>
thanks.
Reported on Movable Type 4.2

for what is is worth i plan to de-categorize items that have happened in the past, so i can always show the first four of that category.
Have you tried <mt:Entries category="MyCategory Name" limit="4">?
What you might want to do is create a new index template that has multiple <mt:Entries> tags, so that you can show each set of events. You could then have one index template at index.html and your new one which does the first 4 entries in each category as events.html
Sorry, that should be lastn="4"
my code pasting didn't take...
the above code is what i am using...
if i use this:
i get all of my events in chronological order...but i just want to show the first four...
maybe a manipulation of the above would allow it?
argh!
this:
Do you have a category labeled "- shows + events -"?
yes i do.
Here's your problem with:
You don't have lastn defined in that Entries tag :)
if i do define it it will show the latest entries...i want the earliest.
if i make four post in nov and four in dec, i want it to show the 4 in nov.
i may have to just manually tag the four i want to show up.
I feel like an idiot. You should be using "limit" in this case. Check this out: http://www.movabletype.org/documentation/appendices/tags/entries.html