fr:template:dokubook
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fr:template:dokubook [2013-09-24 23:24] – [Discussion] bugmenot2 | fr:template:dokubook [2013-10-02 20:19] (Version actuelle) – [Can I hide the labels of the navigation boxes?] complete translation ! bugmenot2 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== Template |
---- template ---- | ---- template ---- | ||
Ligne 23: | Ligne 23: | ||
Le but de ce template n'est pas de copier complètement l' | Le but de ce template n'est pas de copier complètement l' | ||
- | ===== Caractèristiques | + | ===== Caractéristiques |
- | * custom | + | * navigation |
- | * custom footer per namespace build from a normal wikipage | + | * pied de page personnalisé par espace de nom à partir d'une page wiki normale |
Ligne 47: | Ligne 47: | ||
===== Installation ===== | ===== Installation ===== | ||
- [[# | - [[# | ||
- | - extrayez là dans le répertoire ''< | + | - extrayez-là dans le répertoire ''< |
- identifiez vous en tant qu' | - identifiez vous en tant qu' | ||
- | **en utilisant git :**\\ | + | **En utilisant git :**\\ |
< | < | ||
% cd < | % cd < | ||
Ligne 64: | Ligne 64: | ||
</ | </ | ||
- | **For openSUSE | + | **Sous openSUSE |
< | < | ||
# chown -Rv wwwrun dokubook/ | # chown -Rv wwwrun dokubook/ | ||
Ligne 71: | Ligne 71: | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | You can change the following settings | + | Vous pouvez changer les paramètres suivants |
- | ^ Option ^ Value(s) ^ | + | ^ Option ^ Valeur(s) ^ |
- | | Pagename | Name of wikipages which should be treated as " | + | | Pagename | Nom des pages qui doivent être traitées en tant que " |
- | | Closed Wiki | If you activate this option | + | | Closed Wiki | Si vous activez cette option |
- | | Sidebar position | Determines the position | + | | Sidebar position | Détermine la position |
- | | Logo | Instead of using a logo file in the templates | + | | Logo | Au lieu d' |
===== Premières étapes ===== | ===== Premières étapes ===== | ||
- | ==== Creating the Navigation | + | ==== Création de la navigation |
- | The template | + | Le template |
- | **Example | + | **Exemple de navigation: |
< | < | ||
- | * [[link1]] | + | * [[lien1]] |
- | * [[link2]] | + | * [[lien2]] |
- | * [[link3]] | + | * [[lien3]] |
</ | </ | ||
- | Of course you could also use any of the many existing | + | Bien sûr vous pouvez aussi utiliser l'un des nombreux |
==== Création du pied de page ==== | ==== Création du pied de page ==== | ||
- | Like with the navigation | + | Comme avec la navigation, le template |
==== Ajout d'un logo personnalisé === | ==== Ajout d'un logo personnalisé === | ||
Ce template cherche un fichier appelé '' | Ce template cherche un fichier appelé '' | ||
- | ===== Browser Compatibility | + | ===== Compatibilité navigateurs |
- | The template | + | Le template |
- | + | ||
- | **If you've seen it working with other browsers feel free to add them to the list :-)!** | + | |
+ | **Si vous l'avez vu fonctionner avec d' | ||
* Firefox (Win 2.0.0.9, Linux 2.0, Mac OS X 2.0.0.1) | * Firefox (Win 2.0.0.9, Linux 2.0, Mac OS X 2.0.0.1) | ||
* Opera (Win / Linux 8.5, 9.01, 9.24, 10.53) | * Opera (Win / Linux 8.5, 9.01, 9.24, 10.53) | ||
Ligne 128: | Ligne 127: | ||
===== FAQ ===== | ===== FAQ ===== | ||
- | ==== Can I hide the labels of the navigation | + | ==== Puis-je cacher les intitulés des liens de navigation ? ==== |
- | The IMHO cleanest | + | AMHA, la solution |
+ | Ajouter ce qui suit à votre ''< | ||
+ | |||
+ | <code css> | ||
div.dokuwiki span.sb_label { display: none; } | div.dokuwiki span.sb_label { display: none; } | ||
</ | </ | ||
- | ==== Is it possible to make the sidebar/ | ||
- | When I have multiple subfolders in there, the text is overlapping the main page. | ||
- | Change | + | |
+ | ==== Est-il possible de rendre la barre latérale/ | ||
+ | En ayant de multiples sous-dossiers, | ||
+ | |||
+ | Changez | ||
<code css> | <code css> | ||
- | /* presume sidebar is left */ | + | /* en présumant que la barre latérale est à gauche |
div.dokuwiki div# | div.dokuwiki div# | ||
- | /* change the 160px to the required width */ | + | /* changer |
div.dokuwiki div# | div.dokuwiki div# | ||
- | /* change the 170px to the required width + 10 */ | + | /* changer |
</ | </ | ||
| | ||
- | ==== Is there any way for the Search function to show at the top of the sidebar rather than after the Navigation | + | ==== N'y a-t-il pas de moyen pour que la barre de recherche soit affichée en haut de la barre latérale au lieu qu' |
- | Edit the '' | + | Modifiez le fichier |
// generate the searchbox | // generate the searchbox | ||
| | ||
- | And move this line including the 4 following lines above: | + | Et déplacez cette ligne et les 4 suivantes en dessous de : |
// main navigation | // main navigation | ||
| | ||
- | ==== Is there a way to change the font in your template | + | ==== Y-a-t-il un moyen de changer la police dans votre template |
- | + | Modifiez | |
- | Edit ''< | + | |
<code css> | <code css> |
fr/template/dokubook.1380057891.txt.gz · Dernière modification : 2013-09-24 23:24 de bugmenot2