MentalWealth

MentalWealth is a theme for MoinMoin 1.5 and is © 2005-6 Robin Parmar.

Licensed under the GPL for free use. Do not remove credit or claim it as your own. Your continuing [MAILTO]comments and bug reports are welcome.

Description

This is an updated version of my MentalHealth theme, but with the sidebar on the left. After due consideration I believe this affords greater usability. If you are reading this in your web browser you are viewing a screen that simulates how the theme will look while running in MoinMoin. Actions are disabled because they have no meaning in this context. Of course they will work correctly in a real wiki!

Installation

Install in the usual way, depending on what type of MoinMoin application you have. Basically:

If you require more help, see the MoinMoin docs, particularly HelpOnThemes.

Skinning The Theme

I have re-introduced the four skins that came with MentalHealth. Take a look in htdocs/mentalwealth/css/ and locate the screen.css file. This now consists of only stylesheet imports. First is a required import for base.css which, as its name would suggest, contains all the basic styles that MentalWealth sets.

Next, there are imports for several skin stylesheets. All should be commented out except the one you wish to use. (Actually, you can leave them all in, but change the order to suit yourself, as only the last will take precedence.) The files skin-*.css contain only colour styles. Use the one you wish, or create your own.

Custom Smilies

Unfortunately there is no good way to customise the icon set that comes with MoinMoin. I have developed a set of bug tracking icons, but in order to use them you must hack the code in config.py to add the following to the end of the smilies dictionary:

# robin addition: bug icons
"|b":  (18, 18, 0, "bugblack.png"),
"|a":  (18, 18, 0, "bugamber.png"),
"|r":  (18, 18, 0, "bugred.png"),
"|g":  (18, 18, 0, "buggrey.png"),
"|z":  (18, 18, 0, "bugzap.png")

To see all the smilies that are available to you, use the [[ShowSmileys]] macro on one of your pages.

More Actions

There are now six panels in the sidebar: Search, Navigation, Recent, This Page, More Actions and User. At the top of the file mentalwealth.py there is a constant MOREACTIONS which defaults to True. Change this to False if you don't want the new More Actions panel.

Further Customisation

People email me asking if I would change things like spaces between sections and other display minutae. Unless these cause real display problems, the answer is likely to be "no". That's because you can easily customise base.css yourself by learning a little about CSS. There are many good CSS tutorials available on the web. If you wish more extensive design work (HTML, CSS, graphics, SEO, etc.) you may contract my services.

Issues

There is one known problem with this theme which is illustrated on the demo page. If there are really wide links in the sidebar, they will extend over the available space. In FireFox this is not too bad, since only the text itself extends. However, in IE6 the entire box extends into the page space, playing havoc with the layout. If you know of a fix, please let me know.

Inspiration

"Oh we're in love with beauty
We're in love with wealth
We're in love with mental health."
-- Julian Cope

Version History

version 0.96 (22 February 2009)

compatible with moin 1.7.1

version 0.95 (16 May 2006)

Support for additional actions in new side panel. Add bug tracking icons.

version 0.94 (28 April 2006)

additional support for MoinMoin 1.5
stylesheet simplifications
delegation of colours to specific skin stylesheets

version 0.93 (21 April 2006)

special first anniversary release
compatibility with MoinMoin 1.5

version 0.92 (19 October 2005)

initial release born from MentalHealth

version 0.91 (25 April 2005)

style tweaks

version 0.90 (20 April 2005)

initial release born from "rightsidebar" theme

last edited 28 April 2006 by Robin Parmar