[Moin-user] Modifying MonthCalendar
Jim Wight
j.k.wight at ncl.ac.uk
Tue Sep 13 00:19:12 EDT 2005
On Mon, 2005-09-12 at 21:29 -0500, Hiers, Richard wrote:
> On the MonthCalendar, when your mouse passes over a day which has a page
> associated with it, you get a little pop up that displays any Heading 1
> headings. Is it possible to modify the MonthCalendar macro to display
> Heading 2 headings instead?
Change line 465 from
header1_re = re.compile(r'^\s*=\s(.*)\s=$', re.MULTILINE) # re.UNICODE
to
header1_re = re.compile(r'^\s*==\s(.*)\s==$', re.MULTILINE) # re.UNICODE
It would be great if it could be done without having to modify the code,
and even better if the level could be chosen per call.
Jim
More information about the Moin-user
mailing list