## page was renamed from MoinMoinBugs/1.9 MonthCalenderAndSidebarFunctionNotWorking
= Description =
1. '''Fixing Links'''<
>If you use the SideBar function ([[http://hg.moinmo.in/moin/1.9/file/7a83cc907f68/MoinMoin/theme/__init__.py#l1869|Link]]) in your MoinMoin Theme and want display the Macro MonthCalendar in your Sidebar, then the links for next/last month (or year) are not working correctly. Because the Macro will rendered the links always with the origin (sidebar) page name. It should render the links in the {{{ >
== Steps to reproduce ==
1. Create a Wiki Theme with SideBar available
1. Create a wiki page called "SideBar" (the content of the wikipagge "SideBar" will be displayed now on every wiki page (additional))
1. Put now the MonthCalendar Macro into SideBar and browse to another side (e.g. StartSeite).
1. Try to use the navigation of the MonthCalendar Macro (next month, next day, etcetear) in your sidebar
1. Reslt: a Mouseclick on the Link, will always the "SideBar" wikipage displayed, and you will browse/go from the wiki page "StartSeite" to "SieBar", but the behavior should be, that you stay on same page.
== Example ==
* not yet available
== Component selection ==
* Macro/MonthCalendar.py
= Patches =
[[attachment:MonthCalendar-3.patch]]
Just made this for my new MoinMoin 1.9 theme, so not realy big testing was done. But I guess some other dudes with sidebar enabled and monthcalender included will face similary problems...
= Discussion =
= Plan =
## This part is for Moin``Moin developers:
* Priority:
* Assigned to:
* Status:
----
CategoryMoinMoinPatch