EventCalendarマクロのインストール
EventCalendarのインストール
Ubuntu Server上のMoinMoinにインストールを試みる。
http://moinmo.in/MacroMarket/EventCalendar?action=AttachFile&do=get&target=eventcal-096.css
をダウンロードして中身を/MoinMoin/web/static/htdocs/modern/css/screen.cssの最後の行に追加。
wget -U firefox http://moinmo.in/MacroMarket/EventCalendar\?action=AttachFile\&do=get\&target=eventcal-096.css
cat eventcal-096.css >> screen.css
次に
http://moinmo.in/MacroMarket/EventCalendar?action=AttachFile&do=get&target=EventCalendar-099a.py
をダウンロードしてEventCalendar.pyと名前を変え、
data/plugin/macro
におく。
EventCalendar.py
に
--- EventCalendar.py.orig 2009-07-17 18:22:03.000000000 +0300 +++ EventCalendar.py 2009-07-17 18:22:18.000000000 +0300 @@ -318,7 +318,7 @@ html.append( html_result ) html.append( showmenubar() ) - html.append( showpagelist() ) + html.append( show_page_list() ) if Params.showerror and Globs.errormsg: html.append(u'<p><i><font size="2" color="#aa0000"><ol>%s</ol></font></i>' % Globs.errormsg)
と
@@ -268,10 +268,10 @@ if args: args=request.getText(args) - for item in macro.form.items(): + for item in macro.request.values.items(): if not form_vals.has_key(item[0]): try: - form_vals[item[0]]=item[1][0] + form_vals[item[0]]=item[1] except AttributeError: pass
のパッチを当てる。
apache2を再起動して使う。