Combiner plusieurs classes :

<WRAP centeralign round box>
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
</WRAP>

Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.

<WRAP centeralign round box 40%>
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
</WRAP>

Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.

<WRAP centeralign round box 40%>
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
</WRAP>

Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.

bricoler:prive:wrap

La doc https://www.dokuwiki.org/plugin:photogallery

Correction du bug de lancement de l'appli il faut que la variable defer_js soit sésactivée donc =0 . elle se trouve à la ligne 169 dans le dossier de wiki /conf/dokuwiki.php

param dans INCLUDE pou ne pas afficher la date dans la galerie

---- photogallery show ----
namespace  : .:my_best_shots
title      : My best shots
description: Photos from my life - Compact cameras only.
copyright  : © 2017 by Marco Nolletti
posterimg  : img_1196.jpg
----

Surtout pour le visionnement sur tel ou tablette en mode paysage

J'ai mis dans /vae/www/dokuwiki6/lib/tp/bootstrap3/css/core/media_fulscreen.css au début en troisième item de structure <code> #dokuwikicontent {

  max-width: 800px; /* Remplacez 800px par la largeur souhaitée */
  margin: 0 auto; /* Pour centrer le contenu si nécessaire */

} </code> en troisième item de structure

Ça fonctionnr mais le sidebar gauche se rajoute à l'affichage : don pas utiliser de sidebsr latéral

The width has to be specified at the start of a line before the table. The first value is used as width of the table, the rest is for columns. If you want to omit some value use a dash instead. The widths can be specified in any CSSunits:

|<100% 50px - 5em 10em 10%>|
^ A  ^  B  ^  C  ^  D  ^  E  ^
| 1  |  2  |  3  |  4  |  5  |
< 100% 50px - 5em 10em 10% >
A B C D E
1 2 3 4 5

The relative units (percentage) for the table width refer to the width of the page, and when used for columns they refer for the table wight. For example, the width specification |< 50% 50% 50% >| makes the table half width of the page and two equal columns quarter of the page width each.

If there are more columns in the table than there are values in the width specification, the width will be applied to the columns from left to right:

|<50em 20%>|
^ 20%              ^ 80%                          ^
| Specified width  | The rest of the table width  |
< 50em 20% >
20% 80%
Specified width The rest of the table width

test tableaux

^titre^titre^titre|\\
^titre|contenu 1|contenu 2|\\
^titre|contenu 3|contenu 4|
titretitretitre
titrecontenu 1contenu 2
titrecontenu 3contenu 4
^titre^titre^titre|
|contenu 1|contenu 2|
|contenu 3|contenu 4|
titretitretitre
contenu 1contenu 2
contenu 3contenu 4
|contenu 1|contenu 2|
|contenu 3|contenu 4|
contenu 1contenu 2
contenu 3contenu 4

La doc pour lier les images est ici https://www.dokuwiki.org/start?id=fr:images

Installation locale

  • À partir du gestionnaire de logiciels en donnant le mot de passe de l'admin
  • démarrage avec http://localhost/dokuwiki
  • pas de droit sur les plugins et la config, je le règle finalement par un changement des droits sur les dossiers de dokuwiki (suite à plusieurs essais, j'y suis allé fort en forçant le changement pour tous les dossiers et fichiers contenus : option -R)
    • pour ça faut passer en root
POur /etc/dokuwiki
drwxr-xr-x 2 www-data www-data 4096 nov 23 12:42 dokuwiki

root@dp-Dell-System-XPS-L322X:/etc/dokuwiki# ls -l
total 128
lrwxrwxrwx 1 www-data www-data    34 sep 26  2018 acl.auth.php -> /var/lib/dokuwiki/acl/acl.auth.php
-rw-r--r-- 1 www-data www-data   448 mai  3  2018 acl.auth.php.dist
-rw-r--r-- 1 www-data www-data  2021 mai  3  2018 acronyms.conf
-rw-r--r-- 1 www-data www-data  1408 nov 23 11:53 apache.conf
-rw-r--r-- 1 www-data www-data   164 nov 23 13:33 backup.json
-rw-r--r-- 1 www-data www-data 12509 sep 26  2018 dokuwiki.php
-rw-r--r-- 1 www-data www-data   354 mai  3  2018 entities.conf
-rw-r--r-- 1 www-data www-data  1684 mai  3  2018 htaccess
-rw-r--r-- 1 www-data www-data  1707 mai  3  2018 interwiki.conf
-rw-r--r-- 1 www-data www-data  1228 mai  3  2018 license.php
-rw-r--r-- 1 www-data www-data   261 nov 23 11:53 lighttpd.conf
-rw-r--r-- 1 www-data www-data  1109 nov 23 12:42 local.php
-rw-r--r-- 1 www-data www-data   559 nov 23 12:23 local.php.bak
-rw-r--r-- 1 www-data www-data   462 mai  3  2018 local.php.dist
-rw-r--r-- 1 www-data www-data    32 mai  3  2018 manifest.json
-rw-r--r-- 1 www-data www-data  2572 mai  3  2018 mediameta.php
-rw-r--r-- 1 www-data www-data  2270 mai  3  2018 mime.conf
-rw-r--r-- 1 www-data www-data 11396 mai  3  2018 mysql.conf.php.example
-rw-r--r-- 1 www-data www-data   379 nov 23 12:18 plugins.local.php
-rw-r--r-- 1 www-data www-data   355 nov 23 12:18 plugins.local.php.bak
-rw-r--r-- 1 www-data www-data   173 mai  3  2018 plugins.php
-rw-r--r-- 1 www-data www-data   552 mai  3  2018 plugins.required.php
-rw-r--r-- 1 www-data www-data   105 mai  3  2018 scheme.conf
-rw-r--r-- 1 www-data www-data   748 mai  3  2018 smileys.conf
-rw-r--r-- 1 www-data www-data    58 jui 16  2018 userprint.css
lrwxrwxrwx 1 www-data www-data    36 sep 26  2018 users.auth.php -> /var/lib/dokuwiki/acl/users.auth.php
-rw-r--r-- 1 www-data www-data   153 mai  3  2018 users.auth.php.dist
-rw-r--r-- 1 www-data www-data    59 jui 16  2018 userstyle.css
-rw-r--r-- 1 www-data www-data  1754 mai  3  2018 wordblock.conf
Pour /var/lib/dokuwiki
drwxr-xr-x  5 www-data      www-data      4096 nov 23 11:53 dokuwiki

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki# ls -l
total 12
drwx------  2 www-data www-data 4096 nov 23 11:53 acl
drwx------ 12 www-data www-data 4096 nov 23 12:05 data
lrwxrwxrwx  1 www-data www-data   23 sep 26  2018 inc -> /usr/share/dokuwiki/inc
drwxr-xr-x  4 www-data www-data 4096 nov 23 11:53 lib

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki# ls -l
total 12
drwx------  2 www-data www-data 4096 nov 23 11:53 acl
drwx------ 12 www-data www-data 4096 nov 23 12:05 data
lrwxrwxrwx  1 www-data www-data   23 sep 26  2018 inc -> /usr/share/dokuwiki/inc
drwxr-xr-x  4 www-data www-data 4096 nov 23 11:53 lib
root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki# cd lib
root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/lib# ls -l
total 8
drwxr-xr-x 26 www-data www-data 4096 nov 23 12:42 plugins
drwxr-xr-x  4 www-data www-data 4096 nov 23 12:16 tpl

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/data# ls -l
total 80
drwx------  2 www-data www-data  4096 nov 24 03:04 attic
drwx------ 19 www-data www-data  4096 nov 23 12:05 cache
-rw-r--r--  1 www-data www-data 19724 mai  3  2018 deleted.files
-rw-r--r--  1 www-data www-data  6510 sep 26  2018 dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.png
-rw-r--r--  1 www-data www-data 12093 mai  3  2018 dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.xcf
drwx------  2 www-data www-data  4096 nov 24 03:04 index
drwx------  2 www-data www-data  4096 nov 24 03:04 locks
drwx------  4 www-data www-data  4096 nov 23 12:05 media
drwxr-xr-x  2 www-data www-data  4096 sep 26  2018 media_attic
drwxr-xr-x  4 www-data www-data  4096 nov 23 12:05 media_meta
drwx------  2 www-data www-data  4096 nov 23 12:05 meta
drwx------  4 www-data www-data  4096 nov 23 11:54 pages
drwx------  2 www-data www-data  4096 nov 23 12:42 tmp

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/acl# ls -l
total 8
-rw------- 1 www-data www-data 198 nov 23 11:53 acl.auth.php
-rw------- 1 www-data www-data  93 nov 23 11:53 users.auth.php
root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/acl#

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/lib# ls -l
total 8
drwxr-xr-x 26 www-data www-data 4096 nov 23 12:42 plugins
drwxr-xr-x  4 www-data www-data 4096 nov 23 12:16 tpl

root@dp-Dell-System-XPS-L322X:/var/lib/dokuwiki/lib/plugins# ls -l
total 140
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 acl
-rw-r--r--  1 www-data www-data   665 mai  3  2018 action.php
-rw-r--r--  1 www-data www-data  2571 mai  3  2018 admin.php
drwxr-xr-x  7 www-data www-data  4096 nov 23 12:06 advanced
drwxr-xr-x  5 www-data www-data  4096 nov 23 11:53 authad
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 authldap
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 authmysql
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 authpdo
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 authpgsql
-rw-r--r--  1 www-data www-data 15450 mai  3  2018 auth.php
drwxr-xr-x  3 www-data www-data  4096 nov 23 11:53 authplain
drwxr-xr-x  4 www-data www-data  4096 nov 23 12:42 backup
drwxr-xr-x  6 www-data www-data  4096 nov 23 12:17 block
drwxr-xr-x  7 www-data www-data  4096 nov 23 12:16 bootswrapper
-rw-r--r--  1 www-data www-data   244 mai  3  2018 cli.php
drwxr-xr-x  5 www-data www-data  4096 nov 23 11:53 config
drwxr-xr-x 10 www-data www-data  4096 nov 23 12:17 edittable
drwxr-xr-x  5 www-data www-data  4096 nov 23 11:53 extension
drwxr-xr-x  5 www-data www-data  4096 nov 23 12:15 fastwiki
-rw-r--r--  1 www-data www-data   244 mai  3  2018 index.html
drwxr-xr-x  2 www-data www-data  4096 nov 23 11:53 info
drwxr-xr-x 10 www-data www-data  4096 nov 23 12:04 move
drwxr-xr-x  3 www-data www-data  4096 nov 23 11:53 popularity
-rw-r--r--  1 www-data www-data  3124 mai  3  2018 remote.php
drwxr-xr-x  3 www-data www-data  4096 nov 23 11:53 revert
drwxr-xr-x  2 www-data www-data  4096 nov 23 11:53 safefnrecode
drwxr-xr-x  3 www-data www-data  4096 nov 23 11:53 styling
-rw-r--r--  1 www-data www-data  4438 mai  3  2018 syntax.php
drwxr-xr-x  6 www-data www-data  4096 nov 23 12:16 typography
drwxr-xr-x  4 www-data www-data  4096 nov 23 11:53 usermanager
drwxr-xr-x  7 www-data www-data  4096 nov 23 12:15 wrap

DOC

Quand on utilise plusieurs blocks on évite bien des ennuis en mettant </block> seul sur une ligne à la fin de chaque block

====== Sorcières ======

<WRAP center round box100%>
| {{ :petits:sorciere:external-content.duckduckgo.com.jpeg?nolink&350 | }}|<WRAP center round box 100%><fs medium><fs large>J'ai pensé à ce sujet en lisant le livre de //Alix Paré "Sorcière" de la série Ça c'est de l'art des éditions Chêne//. C'est un sujet traité par des artistes, pas seulement pour l'halloween.</fs><block 80:c:#000000;#FFFFFF;4px solid black;Arial, Helvetica, sans-serif/14ptrounded>Tous les enfants ont entendu parler de sorcières\\
  * soit il les aiment, soit ils en ont peur\\
  * ça dépend des sorcières
  * et toi ?
</block></fs>
</WRAP>|
</WRAP>

Commentaire
  * niveau sup : un WRAP de pleine largeur 100%%
    * contenu du wrap : un tableau de 2 colonnes
      * col 1 une image centrée nolink
          * une image
      * col 2 : un  block wrap 100%
          * un texte (en fs large)
          * un block 80:c:#000000;#FFFFFF;4px solid black;Arial, Helvetica, sans-serif/14ptrounded
             * un texte
Attention les | du tableau doivent s’enchaîner sans saut de ligne à la saisie clavier

ETRANGE BUG : le saut de ligne avant  </block> du premier block est nécessaire pour que le deuxième soit reconnu
===== Les ateliers du printemps 2020 : accès libre aux introductions =====

<block 50%:c:white;black;0px solid black;Arial, Helvetica, sans-serif/14pt>
|[[tous:2020:accueil|{{ tous:analyse-sujet.jpg?nolink&350  |amandier}}]]| Cliquez sur l'image pour accéder à la présentation des ateliers du printemps 2020.|
</block>

===== Si vous n'être pas familier avec un tel wiki c'est ici =====
<block 50%:c:white;black;0px solid black;Arial, Helvetica, sans-serif/14pt>
|[[tous:en-commun:q-r|{{ :tous:question_reponse.jpeg?nolink&200 | }}]]| Cliquez sur l'image pour accéder à la liste des questions réponses (FAQ)|.</block>

Video

<block 50%:c:>
{{vimeo>numéro-de-la-vidé0?large}}
</block>

Dans un block pour le centrage

Truc de debug

  • le bobo peut être au dessus de l'apparition du pb en cas de formats successifs identiques

Docs utiles

Configuration de DokuWiki :

  Ouvrez le fichier conf/local.php dans le répertoire de votre installation DokuWiki.
  Ajoutez ou modifiez la ligne suivante pour augmenter la taille maximale des fichiers téléchargés en octets (par exemple, pour 100 Mo, vous pouvez utiliser 100000000) :

$conf['fsize'] = 100000000;

Redémarrez votre serveur web pour que les modifications prennent effet.

pas marché

  • bricoler/prive/dokuwiki
  • Dernière modification : 2024/12/03 14:23
  • de 127.0.0.1