Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
software:dokuwiki [2008/06/07 05:06] cyril |
software:dokuwiki [2011/01/20 15:25] cyril [Have it working on free.fr] traduction, ajout interdiction |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[http:// | [[http:// | ||
- | ===== Have it working on free.fr ===== | ||
- | There was some problems to have it working on my host Free. | + | ===== Le faire fonctionner sur les pages persos de free.fr ===== |
- | Someone created | + | Il y a quelques problèmes pour le faire fonctionner chez Free, mais quelqu' |
+ | |||
+ | Cependant dokuwiki est dorénavant banni chez Free. Si vous êtes détecté, votre compte sera suspendu pour le motif : | ||
+ | >Les interfaces utilisant des fichiers locaux comme base de données/ | ||
===== The sidebar ===== | ===== The sidebar ===== | ||
Line 34: | Line 36: | ||
Those I use are: | Those I use are: | ||
- | * [[http:// | ||
- | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
==== source ==== | ==== source ==== | ||
+ | |||
+ | It wasn't finding the local files without giving the full path. So I've added several cases where if it fails to find the file, it tries to find it relatively to the website root and relatively to the dokuwiki media path. | ||
<code diff> | <code diff> | ||
Line 47: | Line 57: | ||
+ if (empty($source)) $source = @file(DOKU_INC." | + if (empty($source)) $source = @file(DOKU_INC." | ||
if (empty($source)) return ''; | if (empty($source)) return ''; | ||
+ | </ | ||
+ | |||
+ | ==== pageindex ==== | ||
+ | |||
+ | I modified it so that it displays directories/ | ||
+ | |||
+ | <code diff> | ||
+ | syntax.php: | ||
+ | - if ($type == ' | ||
+ | + if ($type == ' | ||
+ | + { | ||
+ | + $id = pathID($file); | ||
+ | + if($opts[' | ||
+ | + { | ||
+ | + $data[] = array( | ||
+ | + ' | ||
+ | + ' | ||
+ | + ' | ||
+ | + } | ||
+ | + return true; | ||
+ | + } | ||
</ | </ | ||
===== Show start on directory ===== | ===== Show start on directory ===== | ||
+ | |||
+ | To show the start page when clicking on a directory/ | ||
<code diff> | <code diff> |