wiki:tips_tricks
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | wiki:tips_tricks [2023/04/16 10:43] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Tips & Tricks ====== | ||
| + | |||
| + | ===== Remove Old Revisions ===== | ||
| + | |||
| + | When you edit a page, DokuWiki creates a revision with the old document. The old versions can be viewed by clicking the '' | ||
| + | |||
| + | |||
| + | ==== Configuration ==== | ||
| + | ===Disabling button=== | ||
| + | Displaying the '' | ||
| + | |||
| + | ===Storage=== | ||
| + | Revisions are stored within the //attic// directory, within the configured [[config: | ||
| + | |||
| + | The [[config: | ||
| + | |||
| + | The default system path is ''< | ||
| + | |||
| + | =====Removing old documents===== | ||
| + | To remove any of the contents of the //attic// you can manually remove the corresponding files and sub-directories from the system. | ||
| + | |||
| + | To also remove the list from DokuWiki, edit the metafile | ||
| + | '' | ||
| + | |||
| + | |||
| + | ====== How do I add a sidebar? ====== | ||
| + | |||
| + | If you're using [[template: | ||
| + | |||
| + | * Either choose a template which already comes with a sidebar, see [[templatetag> | ||
| + | * Or install a plugin which will add a sidebar to your template, see [[plugintag> | ||
| + | |||
| + | Using a template which includes a sidebar functionality is often a better choice, as that sidebar will already be optimized to fit into the template' | ||
| + | |||
| + | ===== I have a sidebar functionality. How can I create or edit a sidebar now? ===== | ||
| + | |||
| + | Most templates use a normal wiki [[:page]] called " | ||
| + | |||
| + | In the most likely event that your sidebar is a page called " | ||
| + | |||
| + | ===== How can I have an automatic navigation in my sidebar? ===== | ||
| + | |||
| + | Best install one of the [[plugintag> | ||
| + | |||
| + | In many cases you will also need to add the '' | ||
| + | |||
| + | ===== My sidebar doesn' | ||
| + | |||
| + | If your sidebar contains dynamic elements (e.g. highlighting of the current page or opening of a sub list, like a lot of navigation plugins do), then you need to add the '' | ||
| + | |||
| + | *This NOCACHE is no longer needed to fix link highlighting after Hogfather is released, because it has been changed in implementation to use front-end JavaScript highlighting.* | ||
| + | ===== Sidebar by namespace===== | ||
| + | |||
| + | A single sidebar is applied by default to all pages in the namespace where the wiki sidebar page is created. So, you can choose where you want to display a sidebar : | ||
| + | |||
| + | * '': | ||
| + | * '': | ||
| + | |||
| + | Moreover, you can easily have multiple sidebars: "the nearest sidebar page will be used" as said in the configuration setting: [[config: | ||
| + | There is no limit to having specific sidebars per namespace to facilitate browsing as: | ||
| + | |||
| + | * '': | ||
| + | * '': | ||
| + | * '': | ||
| + | * '': | ||
| + | |||
| + | To be clear, all you need to do is create a page named ' | ||
| + | |||
| + | However, you have to check if your template supports this setting. Bootstrap3, and possibly other templates, extends the namespace capability to other elements of the template (rightsidebar, | ||
| + | |||
| + | ===== The contents of the sidebar remains empty ===== | ||
| + | |||
| + | You have to fill the page " | ||
| + | |||
| + | ===== For some users the sidebar does not appear ===== | ||
| + | |||
| + | **Q:** For some or all non-admin users the sidebar does not appear. | ||
| + | |||
| + | **A:** The user to whom the sidebar should be displayed must have read permission on the page " | ||
| + | |||
| + | |||
| + | |||
| + | |||
wiki/tips_tricks.txt · Last modified: by thum
