1 Nov 2004 11:12
Re: Calendar.py
Nigel Metheringham <Nigel.Metheringham <at> dev.intechnology.co.uk>
2004-11-01 10:12:05 GMT
2004-11-01 10:12:05 GMT
On Sat, 2004-10-30 at 12:02 +0100, Trog wrote: > Is anyone out there using this ? > http://moinmoin.wikiwikiweb.de/MoinMoinCalendarExample?highlight=%28calendar%29 > I'm clearly doing something wrong, because when I enter the supplied > example, the wiki displays the data that I entered, rather than the > formatted calendar. I have put Calendar.py in every processor or macro > sub directory on our wiki, but it clearly isn't being called. Is there > some other magic required? The Calendar.py file needs to be in a processor directory - either in the main moin installation or in a per-wiki installation (the latter is easier to experiment with because you don't then have issues with permissions when python tries to compile it into a .pyc file). For example if the base directory for your wiki is /var/www/moin/mywiki/ then put the Calendar.py file into /var/www/moin/mywiki/data/plugins/processor/ [permissions need to be such that its readable] The *main* reason why these things do not get called is that people get the header wrong - normally by adding a space... This calendar fragment works for me... (however I am using the version you'll find on my moin homepage - http://moinmoin.wikiwikiweb.de/NigelMetheringham which outputs in a form which allows embedded wiki markup, but probably looks less visually impressive in the normal case). {{{ #!Calendar(Continue reading)
RSS Feed