Hi,
How would I display an entry on my page if that entry's published date equals today's date? For example, today is September 8th - display any entries that have a published date of September 8th:
<mt:If tag="date" eq="Current Month and Day"> <mt:EntryTitle> </mt:If>
It doesn't matter what year - it could be any year, but has to match today's date.
Thanks in advance.
Reported on Movable Type 4.3

Use the logic that I've provided you on this topic:
http://forums.movabletype.org/2011/09/mtentries-display-only-the-latest-entry.html
Then add the parameter lastn="99999" to your entries starting tag.
Like this:
<mt:Entries lastn="99999">
Kind Regards,
Mihai Bocsaru
----------------------------------
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
Thanks for the reply Mihai.
But how do I get around not hardcoding the date? In the example you gave me I check to see if the entryDate is eq to a specified date. How do check to see if the entryDate is eq to the current date?
Use the following coding:
<$mt:Date format="%B%e" setvar="today$>
<mt:Var name="entry_count" value="0">
<mt:Entries lastn="99999">
<mt:If tag="EntryDate" format="%B%e" eq="$today">
<mt:Var name="entry_count" op="++" setvar="entry_count">
<mt:If name="entry_count" le="5">
<$mt:EntryDate format="%B%e"$><br />
<$mt:EntryTitle$>
</mt:If>
</mt:If>
</mt:Entries>
This coding would do the following:
1) set today's month and day;
2) go through all the last 99999 entries;
3) those entries whose month and day match today's date would be displayed, but up to 5 of them.
You could change the number 5 to whatever number of entries you would like to display.
Kind Regards,
Mihai Bocsaru
----------------------------------
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
That worked great Mihai.
Thank you for your prompt response!
You're welcome ;)