Both sides previous revisionPrevious revisionNext revision | Previous revision |
dokuwiki [2020/10/25 13:58] – [Interesting Plug-ins] move plugin rjt | dokuwiki [2024/08/31 14:49] (current) – [Interesting Plug-ins] snippets rjt |
---|
====== DokuWiki ====== | ====== DokuWiki ====== |
| |
| ===== Setup ===== |
| |
| Just noticed that my date's been set wrong. Fixing was easy enough, see: [[doku>tips:timezone]]. |
| |
===== Customising ===== | ===== Customising ===== |
| ==== Sidebar ==== |
| If your template supports it, you can add a 'sidebar' by creating a page called 'sidebar' and adding something to it. A common thing to do is use the [[doku>plugin:indexmenu|indexmenu plugin]] to display a list of pages. |
| |
| If you use the [[doku>plugin:tag|tag plugin]] the sidebar goes missing on tag pages. A workround for this is to edit your wiki's theme, which is what controls when the sidebar appears. |
| |
| For the default theme, find a line that says |
| |
| $showSidebar = $hasSidebar && ($ACT=='show'); |
| |
| And tell it to also display the sidebar on pages that use ''showtag'', so it reads: |
| |
| $showSidebar = $hasSidebar && ($ACT=='show' || $ACT == 'showtag'); |
| |
| See also: [[github>dokufreaks/plugin-tag/issues/125]] |
| |
==== Interwiki Links ==== | ==== Interwiki Links ==== |
Customising the shortcuts and icons for interwiki links involves three steps: | Customising the shortcuts and icons for interwiki links involves three steps: |
| |
===== Interesting Plug-ins ===== | ===== Interesting Plug-ins ===== |
* [[doku>plugin:csv]] - Takes [[form:CSV]] files (or [[form:TSV]]) and displays them as wiki tables. | |
| * [[doku>plugin:csv]] - Takes [[CSV]] files (or [[TSV]]) and displays them as wiki tables. |
* [[doku>plugin:table2csv]] - Export dokuwiki tables as CSV. | * [[doku>plugin:table2csv]] - Export dokuwiki tables as CSV. |
* [[doku>plugin:edittable]] - Nicer table editor, though I never end up using it... | * [[doku>plugin:edittable]] - Nicer table editor, though I never end up using it... |
* [[doku>plugin:dir]] - Generates a list of pages in a namespace. | * [[doku>plugin:dir]] - Generates a list of pages in a namespace. |
* [[doku>plugin:pagelist]] - `` | * [[doku>plugin:pagelist]] - `` |
* [[doku>plugin:indexmenu]] - Also generates a list (in the form of a tree) of pages. I use it for the menu on the left. | * [[doku>plugin:indexmenu]] - Also generates a list (in the form of a tree) of pages. |
* [[doku>plugin:imagebox]] - [[Mediawiki]]-style image captions. | * [[doku>plugin:imagebox]] - [[Mediawiki]]-style image captions. |
* [[doku>plugin:backlinks]] - Shows list of pages that link to the current page. Already built-in to dokuwiki, this is just a different way of presenting it. | * [[doku>plugin:backlinks]] - Shows list of pages that link to the current page. 'Backlinks' are already built-in to dokuwiki, this is just a different way of presenting it. Default is as a regular list, but I've style it a bit nicer and put it in the footer here. |
* [[doku>plugin:tag]] - Tags! | * [[doku>plugin:tag]] - Tags! Also works with pagelist plug-in to insert lists of pages depending on how they're tagged. |
* [[doku>plugin:move]] - Makes it easy to move and rename pages and files without destroying edit history. | * [[doku>plugin:move]] - Makes it easy to move and rename pages and files without destroying edit history. |
| * [[doku>plugin:cloud]] - Generate 'clouds' of tags and popular words. |
| * [[doku>plugin:footer]] - Insert stuff below the regular page contents. Used on this wiki to show a bunch of tags with the [[doku>plugin:cloud]] plugin, and backlinks. |
| * [[doku>plugin:cssperpage]] - Was thinking of making something like this myself. Seems useful if you want to use Dokuwiki to make a homepage, but I'm not fond of this implementation. |
| * [[doku>plugin:confmanager]] - I haven't tried this, but seems to be an interface for changing things like interwiki links and abbreviations, without having to get into your server. |
| * [[doku>plugin:folded]] - Hide and reveal section, like using the [[HTML]] [[https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element|details element]]. |
| * [[doku>plugin:stale]] - Easily refresh the wiki's cache. Handy after you've updated the footer, for example. |
| * [[doku>plugin:diagram]] - Elaborate, grid-based diagrams, with a table-like syntax. |
| * [[doku>plugin:flowcharts]] - Generate different kinds of flowcharts, with [[https://mermaid.js.org/|Mermaid]] syntax. |
| * [[doku>plugin:custombuttons]] - Lets you add buttons that insert snippets of text. Easy to setup. |
| * [[doku>plugin:snippets]] - Like custombuttons above, but can also use transclusion, so snippets can be updated when the main one is changed. |
| |
==== See Also ==== | ==== See Also ==== |
* [[tildegit>rjt/dokuwiki-tweaks-rjt|dokuwiki-tweaks-rjt]] - This wiki's customisations on Tildegit. | * [[tildegit>rjt/dokuwiki-tweaks-rjt|dokuwiki-tweaks-rjt]] - This wiki's customisations on Tildegit. |
| |
{{tag>recommendations wiki}} | {{tag>fixes recommendations wiki}} |