====== Installations und Tuning von Dokuwiki ====== ===== Installationsgang ===== * Version dokuwiki-2009-02-14b.tgz in Webserververzeichns entpacken * Entsprechend umbenennen * Über http://webserver/dokuwikinamen aufrufen * Installationsgang durchführen (zuerst Sprache einstellen) * Theme monobook installieren (Compact CSS and Javascript files abschalten) + Plugin WikiDisplay * Hierarchischen und Krümmelpfad einstellen + CSS bearbeiten (Schriftgröße) * Pages-Verzeichnis einstellen * Möglichkeiten: mehrere Pagesverzeichnisse, Zugriffe auf lokale Verzeichnisse, Zugriff auf entfernte Verzeichnisse, Verzeichnisse auf Datenstiften. (Eventuelle Rechteprobleme) * Externe Bearbeitung von Seiten * Formelsatz-Plugins installieren * jsmath, in Konfiguration Pfad einstellen * asciimath ===== Tipps und Hinweise ===== ==== Template Monobook ==== Toolbox und Register anpassen: in der Datei context.php * [[http://www.dokuwiki.org/template:monobook|Template Monobook - Hinweise zu Toolbox bearbeiten]] * [[http://forum.dokuwiki.org/thread/3357|Register Einfügen/Wegblenden bei Monobooks]] Schriftgröße bei Benutzerführung ändern - geschieht in der Datei main.css #catlinks { border: 1px solid #aaa; background-color: #f9f9f9; padding: 1px; margin-top: 1em; font-size: 0.8em; // Hier wird die Schriftgröße nach Wunsch verkleinert clear: both; } Hierarchischer Pfad (ohne Namespace !). Datei /inc/template.php ca. Zeilennummer 800 /** * Hierarchical breadcrumbs * * This code was suggested as replacement for the usual breadcrumbs. * It only makes sense with a deep site structure. * * @author Andreas Gohr * @author Nigel McNie * @author Sean Coates * @author * @todo May behave strangely in RTL languages */ function tpl_youarehere($sep=' » '){ global $conf; global $ID; global $lang; // check if enabled if(!$conf['youarehere']) return false; $parts = explode(':', $ID); $count = count($parts); echo ''.$lang['youarehere'].': '; // always print the startpage /* LeJos */ $title = useHeading('navigation') ? p_get_first_heading($conf['start']) : $conf['start']; if(!$title) $title = $conf['start']; // tpl_link(wl($conf['start']),hsc($title),'title="'.$conf['start'].'"'); /* LeJos */ // print intermediate namespace links $part = ''; for($i=0; $i<$count - 1; $i++){ $part .= $parts[$i].':'; $page = $part; resolve_pageid('',$page,$exists); if ($page == $conf['start']) continue; // Skip startpage // output if (!($page == 'tmwiki:start')) echo $sep; // changed by LeJos if($exists){ $title = useHeading('navigation') ? p_get_first_heading($page) : $page; if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc(noNS($page)),'title="'.$page.'"'); }else{ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"'); /* LeJos $title = useHeading('navigation') ? p_get_first_heading($page) : $page; if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc($title),'title="'.$page.'"'); }else{ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"'); LeJos */ } } // print current page, skipping start page, skipping for namespace index if(isset($page) && $page==$part.$parts[$i]) return; $page = $part.$parts[$i]; if($page == $conf['start']) return; echo $sep; if(page_exists($page)){ $title = useHeading('navigation') ? p_get_first_heading($page) : $page; if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc(noNS($page)),'title="'.$page.'"'); }else{ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"'); /* LeJos $title = useHeading('navigation') ? p_get_first_heading($page) : $page; if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc($title),'title="'.$page.'"'); }else{ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"'); LeJos */ } return true; } ===== DokuWiki-Erweiterungen ===== * [[http://www.ooowiki.de/Writer2DokuWiki|OpenOffice --> DW]] * [[http://wiki.plattsalat.de/doku.php?id=wiki:msofficemacro|OpenOffice --> DW, alternativ]] * [[http://www.dokuwiki.org/plugin:odt|DW --> OpenOffice]] ===== DokuWiki-Zugangssteuerung ===== * [[http://www.dokuwiki.org/auth:ldap|Benutzer über LDAP integrieren]] * [[http://www.amrila.com/wiki/doku.php/linux/dokuwiki/anbindung_an_ldap_zur_authentifizierung|Hinweise zu LDAP-eDir]] ===== Links zur DokuWiki ===== * [[http://www.semibyte.de/dokuwiki/informatik:entwicklung:dokuwiki|SemiByte]] * [[http://www.arnebrodowski.de/blog/plugin/tag/Wiki|Arnes Blog ]] * [[https://iklk.de/dokuwiki/doku.php|DokuWiki - Wissenstransfer]] * [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/|JInsites]] * [[http://swik.net/DokuWiki+latex|weitere Plugins 1]] * [[http://www.wikistuce.info/doku.php?id=nouvelle_page|weitere Plugins 2]] * [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/codeplugin|weitere Plugins 3]] * [[http://jaloma.ac.googlepages.com/|weitere Plugins 4 - Jaloma, Geogebra]] * [[http://planet.dokuwiki.org/|Planet Dokuwiki]] * [[http://www.splitbrain.org/blog/2007-03/31-all_lightbox_clones_i_could_find|Lightbox-Clones]]