Differences between revisions 42 and 43
Revision 42 as of 2006-08-15 19:13:41
Size: 5676
Editor: 87-196-153-44
Comment:
Revision 43 as of 2006-08-15 19:54:59
Size: 6291
Editor: DavidLinke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 74: Line 74:
For Rel. 0.4.1 --> Rel. 0.4.2:
 * Theme is now compatible with DesktopEdition (tolerates missing interwikiname)
Line 78: Line 81:
 * Out of the box... not with the DesktopEdition... just tryed with an out of the box !DesktopEdition... nothing happens. Maybe me... Julio
  * Quick fix: Add an interwikiname to the config-file (wikiconfig.py). Then it looks like:
 * There is a bug in moin-1.5.4 that shows up with this theme when using the GUI-Editor for adding links. More on this later.


 * '''Only important for version 0.4.1 of theme'''
 
* Out of the box... not with the DesktopEdition... just tryed with an out of the box !DesktopEdition... nothing happens. Maybe me... Julio
  * ''Quick fix: Add an interwikiname to the config-file (wikiconfig.py). Then it looks like:''
Line 91: Line 98:

    I hope you used the name '''s'''inorca4moin instead of '''m'''inorca4moin. Also you need to restast the server if you change any *.py file (like the config) (exception: running moin as CGI script). Otherwise the python modules will not be reloaded and you are still running your wiki with the old code.

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

Downloading the files of this theme here: attachment:ThemeMarket/sinorca4moin-0.4.1.zip

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 optimal height for the logo is 46px.
  • 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):

}}}

  • The subheader contains different contents for a farm or a single wiki:

}}}

  • 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-1.5.4
  • Better support for single wikis
  • Autogenerated subheader for farms
  • Nicer design of sidebar, info msg etc.
  • Several minor fixes of css bugs

For Rel. 0.4 --> Rel. 0.4.1:

  • Corrected margin for #message
  • Fixed IE-specific problem with left margin for Text-Editor area (GUI-Editor was OK)

For Rel. 0.4.1 --> Rel. 0.4.2:

  • Theme is now compatible with DesktopEdition (tolerates missing interwikiname)

Issues / Comments / Suggestions

Old stuff related to version 0.3 was deleted. Look in page history if you still need it (revision 30)!

  • There is a bug in moin-1.5.4 that shows up with this theme when using the GUI-Editor for adding links. More on this later.
  • Only important for version 0.4.1 of theme

    • Out of the box... not with the DesktopEdition... just tryed with an out of the box DesktopEdition... nothing happens. Maybe me... Julio

    • Quick fix: Add an interwikiname to the config-file (wikiconfig.py). Then it looks like:

      Toggle line numbers
         1 # -*- coding: iso-8859-1 -*-
         2 "MoinMoin - Configuration"
         3 
         4 from MoinMoin.multiconfig import DefaultConfig
         5 
         6 class Config(DefaultConfig):
         7     acl_rights_after = acl_rights_default = u"All:read,write,delete,revert,admin"
         8     interwikiname = u'Desktop'
      
      • How fast! :-) Thanks. But... err... the out-of-box DesktopEdition still shows up with the modern interface. Minorca4Moin folders are subfolders of htdocs (where I found that themes work on the no out-of-box DeskTopEdition). Minorca4Moin.py stays there too. My !wikiconfig.py is the same you gave but with theme_default = 'minorca4moin' added... (but, in my nescience I've tried without that theme_default too). Well, my guess is that beying a newbye, I'm overlooking something terribly obvious (and maybe about interwikinames). Need a more deep plung on MM admin things. Please, feel free to clean this post away and don't let that prolix newbyes kill your enthusiasm :-) Julio

        • I hope you used the name sinorca4moin instead of minorca4moin. Also you need to restast the server if you change any *.py file (like the config) (exception: running moin as CGI script). Otherwise the python modules will not be reloaded and you are still running your wiki with the old code.

MoinMoin: DavidLinke/Sinorca4Moin (last edited 2013-10-23 20:56:35 by HSI-KBW-078-043-017-238)