[Moin-user] Changing the default content div id

Robert Haines rhaines at manchester.ac.uk
Tue Apr 1 13:32:43 EDT 2008


Hi all,

I'd like to stop Moin from outputting wiki content in a div with id="content".
Is this possible? I need to stop this so that it doesn't barf on some CSS I'm
trying to work with.

In the send_page method of Page.py it sets "content" as the default:
content_id = keywords.get('content_id', 'content')

So I could edit Page.py to change this (this does work) but I'd rather leave the
core code untouched. Is there anyway I could override keywords in my theme early
enough or is there a config I've missed somewhere?

I'm using Moin 1.6.2.

Thanks,
Rob






More information about the Moin-user mailing list