faq:sidebar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq:sidebar [2017-01-10 21:39] – [Sidebar by namespace] turnermm | faq:sidebar [2024-04-02 21:14] (current) – new default template -> default template bactram | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | https:// | ||
+ | |||
====== How do I add a sidebar? ====== | ====== How do I add a sidebar? ====== | ||
- | If you're using [[template: | + | If you're using [[template: |
- | * Either choose a template which already comes with a sidebar, see [[http:// | + | * 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> | * 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 optimised | + | Using a template which includes a sidebar functionality is often a better choice, as that sidebar will already be optimized |
===== I have a sidebar functionality. How can I create or edit a sidebar now? ===== | ===== I have a sidebar functionality. How can I create or edit a sidebar now? ===== | ||
Most templates use a normal wiki [[:page]] called " | Most templates use a normal wiki [[:page]] called " | ||
+ | sssss | ||
In the most likely event that your sidebar is a 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' | ===== My sidebar doesn' | ||
Line 24: | Line 21: | ||
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 '' | 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===== | ===== 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 : | 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: | 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 | + | There is no limit to having specific sidebars per namespace to facilitate browsing as: |
* '': | * '': | ||
Line 40: | Line 37: | ||
* '': | * '': | ||
- | However, you have to check if your template supports this setting, | + | To be clear, all you need to do is create a page named ' |
- | as does for instance [[template: | + | |
+ | 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 | ||
+ | |||
+ | ===== 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 " | ||
faq/sidebar.1484080756.txt.gz · Last modified: 2017-01-10 21:39 by turnermm