===== WRAP =====
Combiner plusieurs classes :
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
Ce texte est centré, entouré d'un bord arrondi, et placé dans une boîte.
**[[bricoler:prive:wrap|bricoler:prive:wrap]]**
===== Photogallery =====
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
{{ :bricoler:prive:pages.jpg?direct&600 |}}
---- 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
----
===== Controle de la largeur de la page =====
Surtout pour le visionnement sur tel ou tablette en mode paysage
J'ai mis dans /vae/www/dokuwiki__6/lib/tp/bootstrap3/css/core/media_fulscreen.css au début en troisième item de structure
#dokuwiki__content {
max-width: 800px; /* Remplacez 800px par la largeur souhaitée */
margin: 0 auto; /* Pour centrer le contenu si nécessaire */
}
en troisième item de structure
Ça fonctionnr mais le sidebar gauche se rajoute à l'affichage : don pas utiliser de sidebsr latéral
===== Contrôle largeur avec Table Width Plugin =====
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|
^titre^titre^titre|
^titre|contenu 1|contenu 2|
^titre|contenu 3|contenu 4|
^titre^titre^titre|
|contenu 1|contenu 2|
|contenu 3|contenu 4|
^titre^titre^titre|
|contenu 1|contenu 2| |
|contenu 3|contenu 4| |
|contenu 1|contenu 2|
|contenu 3|contenu 4|
|contenu 1|contenu 2|
|contenu 3|contenu 4|
===== Positionnement images et texte =====
La doc pour lier les images est ici [[https://www.dokuwiki.org/start?id=fr:images|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|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 ======
===== Blocs et tableaux =====
Quand on utilise plusieurs blocks on évite bien des ennuis en mettant seul sur une ligne à la fin de chaque block
{{ :doc:capture_du_2021-01-15_11-50-50.png?nolink&600 }}
====== Sorcières ======
| {{ :petits:sorciere:external-content.duckduckgo.com.jpeg?nolink&350 | }}|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.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 ?
|
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 du premier block est nécessaire pour que le deuxième soit reconnu
===== Les ateliers du printemps 2020 : accès libre aux introductions =====
|[[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.|
===== Si vous n'être pas familier avec un tel wiki c'est ici =====
|[[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)|.
====== Video ======
{{vimeo>numéro-de-la-vidé0?large}}
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 ======
[[https://www.dokuwiki.org/start?id=fr:wiki:syntax|https://www.dokuwiki.org/start?id=fr:wiki:syntax]]
===== Bootstrap wrapup plugins =====
[[http://www.lotar.altervista.org/wiki/wiki/plugin/bootswrapper|http://www.lotar.altervista.org/wiki/wiki/plugin/bootswrapper]]
* text et TEXT : [[http://www.lotar.altervista.org/wiki/wiki/plugin/bootswrapper/text|http://www.lotar.altervista.org/wiki/wiki/plugin/bootswrapper/text]]
===== Changer limite téléchargement =====
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é