<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>DesktopEdition/HowToConfigure</title></articleinfo><para>The <ulink url="http://wiki.ninux.org/DesktopEdition/HowToConfigure/DesktopEdition#">DesktopEdition</ulink> can be configured similarly to a normal <ulink url="http://wiki.ninux.org/DesktopEdition/HowToConfigure/MoinMoin#">MoinMoin</ulink> installation. You must restart <code>moin.exe</code>/<code>moin.py</code> for changes to take effect. </para><section><title>Basic configuration</title><para>Just edit the <code>wikiconfig.py</code> file. You can use the options listed on the page <ulink url="http://wiki.ninux.org/DesktopEdition/HowToConfigure/HelpOnConfiguration#">HelpOnConfiguration</ulink>. </para><para>Here is a sample: </para><programlisting format="linespecific" language="python" linenumbering="numbered" startinglinenumber="1"><token><![CDATA[from]]></token><![CDATA[ ]]><methodname><![CDATA[MoinMoin.multiconfig]]></methodname><![CDATA[ ]]><token><![CDATA[import]]></token><![CDATA[ ]]><methodname><![CDATA[DefaultConfig]]></methodname>

<token><![CDATA[class]]></token><![CDATA[ ]]><methodname><![CDATA[Config]]></methodname><![CDATA[(]]><methodname><![CDATA[DefaultConfig]]></methodname><![CDATA[):]]>
<![CDATA[    ]]><methodname><![CDATA[sitename]]></methodname><![CDATA[ = ]]><phrase><![CDATA["]]></phrase><phrase><![CDATA[My local notebook]]></phrase><phrase><![CDATA["]]></phrase>
<![CDATA[    ]]><methodname><![CDATA[logo_string]]></methodname><![CDATA[ = ]]><phrase><![CDATA[u']]></phrase><phrase><![CDATA[<img src= ]]></phrase><phrase><![CDATA["]]></phrase><phrase><![CDATA[/wiki/mylogo.png]]></phrase><phrase><![CDATA["]]></phrase><phrase><![CDATA[> My local notebook-Wiki]]></phrase><phrase><![CDATA[']]></phrase>
<![CDATA[    ]]><methodname><![CDATA[acl_rights_default]]></methodname><![CDATA[ = ]]><phrase><![CDATA[u"]]></phrase><phrase><![CDATA[All:read,write,delete]]></phrase><phrase><![CDATA["]]></phrase>
</programlisting><para>Note that the last line is needed if you want to disable administrator access for all users. This is very important if you are using your wiki on the Internet. </para><para>Note that you need admin rights to install help pages in your language. So, install them before you use the <code>acl_rights_default</code> above. </para></section><section><title>Server configuration</title><para>Additionally, you can set some server options like the port etc. in the file <code>wikiserverconfig.py</code>. You need to create it and fill it like shown below. See <ulink url="http://wiki.ninux.org/DesktopEdition/HowToConfigure/HelpOnInstalling/StandaloneServer#options">HelpOnInstalling/StandaloneServer</ulink> for the available options. </para><para>Here is a sample: </para><programlisting format="linespecific" language="python" linenumbering="numbered" startinglinenumber="1"><token><![CDATA[from]]></token><![CDATA[ ]]><methodname><![CDATA[__main__]]></methodname><![CDATA[ ]]><token><![CDATA[import]]></token><![CDATA[ ]]><methodname><![CDATA[DefaultConfig]]></methodname>
<token><![CDATA[class]]></token><![CDATA[ ]]><methodname><![CDATA[Config]]></methodname><![CDATA[(]]><methodname><![CDATA[DefaultConfig]]></methodname><![CDATA[):]]>
<![CDATA[    ]]><methodname><![CDATA[port]]></methodname><![CDATA[ = 80]]>
<![CDATA[    ]]><methodname><![CDATA[interface]]></methodname><![CDATA[ = ]]><phrase><![CDATA["]]></phrase><phrase><![CDATA[10.0.0.0]]></phrase><phrase><![CDATA["]]></phrase><![CDATA[ ]]><lineannotation><![CDATA[# changes the interface where the webserver is bound. use "" for every interface]]></lineannotation>
</programlisting></section><section><title>Dictionary</title><para>You can create a <code>dict</code> directory in the MMDE directory and copy dictionary files into it. Then they will be found by the integrated spellchecker. </para></section><section><title>Plugins/Themes</title><para>Of course you can install plugins and themes like you do it normally. If it is a prepared <ulink url="http://wiki.ninux.org/DesktopEdition/HowToConfigure/MoinMoin#">MoinMoin</ulink> package file, then you just need to upload it and click <code>install</code> on the page which lists all attachments. Otherwise you have to copy the plugin file into the directory <code>wiki/data/plugin/</code> followed by the type of the plugin. E.g. for a theme you would copy the <code>.py</code> file into <code>wiki/data/plugin/theme</code> directory. </para><para>You will need to copy <code>the css</code> and <code>img</code> folders (if you are installing a theme) into a subfolder, which has got the name of your theme, of <code>wiki/htdocs</code>. </para></section></article>