You are here: Home, sweet home » Install  
 

Install

cd
wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-02-14b.tgz
tar xvfz dokuwiki-2009-02-14b.tgz
cp -rf dokuwiki-2009-02-14/* public_html/

Opschonen: lang/* weg behalve voor en & nl

 find . -type d |grep lang/ |grep -vE '(en$|nl$)'

config: open install.php in browser, after that it is possible to log in, and become admin

Configuration

Time zone

create local.protected.php:

<?php putenv("TZ=Europe/Amsterdam"); ?>

Get indexed by Google

In config - spam settings: set indexdelay to 0, and relnofollow to 'off'

Reset password

edit the conf/users.auth.php file and replace the crypted password with a new crypt. Eg. use 21232f297a57a5a743894a0e4a801fc3 to set the password to admin.

Clear content

cd public_html/data
rm -rf attic/*  cache/*  index/*  media/*  meta/* pages/*  tmp/*

Plugins

ToDo

Backup

Handu backup plugin, accessible from admin page http://www.dokuwiki.org/plugin:backup

Googlemaps

Backup:

xml
<googlemap width="340px" height="400px" zoom="15" 
lat="51.966" lon="4.574"   
kml="http://www.mijnfijnesite.nl/_media/mijnfijn.xml">
51.966,4.574, Hier kan een bijvoorbeeld een adres staan
</googlemap>

lib/plugins/googlemaps/syntax/googlemap.php should have:

$renderer->doc .= "
<div class='googlemap' $style>
$script
<script type='text/javascript'>
//<![CDATA[
$param
//]]></script>
</div>";

Columns

Arrange your information in multiple columns

Note: layout conflicts with floating menus. Solution: remove table-width setting in plugin code, or set the table width to - in the page:

<columns - 45% 5% 45%->

Include

A very simple yet handy plugin with which you can include another wiki page into the current one.

Statistics

Templates

http://www.dokuwiki.org/devel:templates explains how it works…

The files of my template (hansl) live in …/lib/tpl/hansel

Dokucms

This make your site look like a 'normal' site (not a wiki). A nice template, but I had to hack (and simplify) it quite a bit to suit my preferences. Its home is http://www.dokuwiki.org/template:dokucms

   
Last modified: 2010/01/30 21:54 Mijn Fijne Site hosting en design