Size: 4341
Comment:
|
Size: 4355
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 71: | Line 71: |
(old stuff related to version 0.3 deleted - look in page history if you still need it!) | (old stuff related to version 0.3 deleted - look in page history if you still need it (revision 30)!) |
Sinorca-Design
|
Motivated by a lot of positive feedback and the frequent use of this theme by others, I created a new version for moin-1.5.4 that has also some nice new features. Enjoy! -- DavidLinke |
Go to ThemeMarket for downloading the files of this theme.
The new version of the design works out of the box for farms and for single wikis. The headers can be customized as can be seen in the following screenshots (see below for more info):
Sinorca4moin on a Wikifarm |
Sinorca4moin on a single Wiki |
attachment:sinorca4moin-0.4-farm.png |
attachment:sinorca4moin-0.4-single.png |
- Many of the suggestions posted here for version 0.3 have been integrated in 0.4. Thanks for the feedback!
- The middle header shows the logo (if configured) and the sitename (as given in the config). Both items link to the frontpage of that wiki.
The contents in the superheader are determined by the config variable page_header1:
- If it is empty (default of moin), the userform-data will be shown on the right.
If it is not empty, the contents of page_header1 will be shown. E.g. add the following to your farmconfig (you may use the classes left / right to position the elements in the superheader):
- {{{page_header1 = '\n'.join([
u'<div class="left">', u' <a href="http://www.catalysis.de">Leibniz-Institute for Catalysis</a>', u'</div>', u'<div class="right">', u' <a href="http://www.google.de">Python Homepage</a> |', u' <a href="http://www.google.de">Google</a>', u'</div>', ])
- {{{page_header1 = '\n'.join([
}}}
- The subheader contains different contents for a farm or a single wiki:
Single-Wiki:
subheader: The content specified in the config variable page_header2 is displayed, e.g. add the following to your wikiconfig:
- {{{page_header2 = '\n'.join([
u'<a href="http://www.google.de">Python Homepage</a> |', u'<a href="http://www.google.de">Google</a>', ])
- {{{page_header2 = '\n'.join([
}}}
Wiki-Farm:
An auto-created list of links to the respective frontpage of the wikis in the farm and there RecentChanges pages (diff-icon) is shown; the list is created from the the keys of the farmconfig.wiki-dictionary. If you use the config-variable interwiki_preferred, this list of wikis is used to build the subheader (this is useful for large farms). If the active wiki is in the list, it's name will be highlighted in orange.
If you (or your users) want to be more happy with IE 6.0 you should change the tablewidth in RecentChanges to 99%. Otherwise the table is always displayed below the sidebar. Also if the window is to small the RecentChanges table drops below the sidebar.
IE has not been very cooperative... - It caused a lot of work to find work-arounds - sometimes even work-arounds around work-arounds.
E.g. I found out that the magic fix with setting the height to a very small value breaks sinorca4moin
- Here is a screenshot showing sinorca4moin with the magic fix and without:
attachment:SideEffect_of_height-hack.png BR Without the fix, i.e. with
{{{* html div#page { height: 0.001%; }
}}}
- commented out, the width between the sidebar and the page is correct also in IE. With the patch it is 5px to wide - this has the effect that the text of the page drops below the sidebar (depending on IE window size). If you resize the window the text will jump from correct to incorrect position back and forth - really funny!
The design was originally insprired by the Sinorca design from "haran" published at http://www.oswd.org.
Changes
For Rel. 0.1 --> Rel. 0.2:
- Improved compatibility with IE 6
- Fixed several minor formatting problems
For Rel. 0.2 --> Rel. 0.3:
- Theme produces now valid HTML pages.
For Rel. 0.3 --> Rel. 0.4:
- Now compatible with moin-15.4
- Better support for single wikis
- Autogenerated subheader for farms
- Several minor fixes of css bugs
Issues / Comments / Suggestions
(old stuff related to version 0.3 deleted - look in page history if you still need it (revision 30)!)
...
The design was slightly different before (screenshot from version-0.3 with moin-1.3.4):
- attachment:ThemeMarket/sinorca4moin_half.png