Don't Back Down

Posted by Chad Everett on June 7, 2004

MT-SomeDays 4.0.0 »

I've finished testing the updated MT-SomeDays. This version is appropriate for both Movable Type v2.6x and v3.0D users. There is only one new tag:

<$MTSDEntryCount$>

This tag will provide you a numeric count of the number of entries for a given day. The rest of the changes are all under the hood. Enjoy!

Announcement. Download.

Related Entries

Comments (4)

Hi, I found this pluggin and thought it was the answer to my problems. But I installed it and it does nothing. I also installed the nessecary perl-modules. I checked the permissions twice, nothing wrong there. As I put the code in my template and rebuild, I get no error messages but the generated code looks like the MTSomeDays-tags have dissappeared. Could it be that this pluggin is not compatible with MT3.11? I really would like to use this pluggin. Please help me?

To the best of my knowledge, it works fine with 3.11. Can you post the code that you're using? Perhaps the problem lies there.

Hello. Thanks for a potentially very useful plugin (v4.3.2). However, I am getting some odd behaviour and wonder if you can help.

The following code:-
<MTSomeDays limit="1"><$MTSDEvalDate format="%B"$></MTSomeDays>
<MTSomeDays month="+1" limit="1"><$MTSDEvalDate format="%B"$></MTSomeDays>
<MTSomeDays month="+2" limit="1"><$MTSDEvalDate format="%B"$></MTSomeDays>

Produces:-
July August October

Which misses out September! I am wondering if it is because today is July 31st and +2 months of 31 days takes you to October.
Any help would be appreciated.
Regards,
Neil

Hi Neil -

That's indeed an issue with the software. If you happen to build the template on the 31st day of the month when there are only 30 days in the month - or in a month with 31 days when the corresponding month ahead only has 30 - you will find that the related day in the other month isn't quite right.

The simplest fix is to rebuild on the first of the next month. I also have a plan to put the software up on GitHub, but I haven't quite made it yet.

Leave a comment