Mercurial > moin-mfact
changeset 36:ec4036ef460d
Added installation instructions
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Fri, 06 Jun 2008 22:01:12 +0200 |
| parents | f9af9c2dfd59 |
| children | fa519b5676d8 |
| files | instructions.txt |
| diffstat | 1 files changed, 82 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/instructions.txt Fri Jun 06 22:01:12 2008 +0200 @@ -0,0 +1,82 @@ +== Installation == + +To install the theme, you need to put the mfact.py file in the +data/plugin/theme/ directory in the data directory of your wiki, +the PageActions.py file in the data/plugin/action, then put the +whole directory mfact inside the htdocs directory of your wiki. +The mfact directory and all of its contents has to have rX rights +for the web server. + +== Logo == + +To set the logo for the wiki, edit the wikiconfig.py file of your +wiki and find the line that says something like: + + logo_string = u'<img src="/moin_static163/common/moinmoin.png" alt="MoinMoin Logo">' + +You can put the URL of your logo in there, and any title text you want like +this: + + + logo_string = u'<img src="http://example.com/logo.png" alt=""> Some title' + +== Menu bar == + +To configure the pages that appear in the menu bar, find lines that +look like this: + + navi_bar = [ + # If you want to show your page_front_page here: + #u'%(page_front_page)s', + u'RecentChanges', + u'FindPage', + u'HelpContents', + ] + +and replace with something like this: + + navi_bar = [ + u'Home', + u'Downloads', + u'Support', + ] + +== Default theme == + +To make this theme the default, find a line like this: + + theme_default = 'modern' + +and replace with something liek this: + + theme_default = 'mfact' + + +== Permissions == + +To get the CMS-like behavior, add this to your wikiconfig.py: + + + acl_rights_before = u"AdminGroup:read,write,delete,revert,admin Alex Rousskov:read,write,delete,revert,admin" + acl_rights_default = u"All:" + +then create a page called AdminGroup, and put a list of users who are to be +able to edit the wiki (you want it, because you cannot disable account +creation): + + * [[John Doe]] + * [[Jane Doe]] + +== Customizing system pages == + +You can just edit them like any other page. The page that is displayed +when there is no such page is called MisssingPage. + +== Site title == + +The title that is displayed in the title of the browser winodw can be set with +this line: + + sitename = u'Untitled Wiki' + +
