/!\ included in moin--main--1.3--patch-677

Based off of OliverGraf/MonthCalendar.Anniversary Calendars: (no year data) Now includes supports for Annual or anniversary calendars in the form of page/MM-DD Simply added another param, if it is 1 then the calendar is in this style, otherwise it is rendered in the traditional way. MonthCalendar.py

details of use... 
[[MonthCalendar(Yearly,,,+1,,6,1)]]

This creates calendars of the format Yearly/MM-DD
By leaving out the year, you can set birthdays, and anniversaries in this
calendar and not have to re-enter each year.

And of course to go with it, here is a new version of IncludeCalendarPage that supports Anniversary calendars. IncludeCalendarPage.py

        Now supports anniversary calendars!

        Now includes a new optional parameter, anniversary.
        if the 4th paramater is set to 1, the year is left off of the
        pattern of pages to get... so

        [[IncludeCalendarPage(Calendar,2,0,1)]]

    includes the contents of page Calendar/03-16 down to level 2 headings.

        if the 4th parameter is set to 2, the year becomes optional
        meaning if you had an anniversary calendar called Yearly and
        a normal day calendar called myCalendar you could roll them both up with
        the following.

        [[IncludeCalendarPage(^(myCalendar|Yearly),2,0,2)]]

 includes the contents of page myCalendar/2003-03-16 AND Yearly/03-16 down to level 2 headings.

MoinMoin: JonathanDietrich/AnnualMonthlyCalendar (last edited 2007-10-29 19:06:53 by localhost)