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-04-14 11:13] – created 196.207.97.65 | faq:sidebar [2023-03-14 19:51] (current) – old revision restored (2023-01-25 07:24) From-Russia-with-Love | ||
---|---|---|---|
Line 3: | Line 3: | ||
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? ===== | ||
Line 24: | Line 24: | ||
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: | ||
Line 39: | Line 39: | ||
* '': | * '': | ||
* '': | * '': | ||
+ | |||
+ | 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, | 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 " | ||
+ | |||
faq/sidebar.1492161228.txt.gz · Last modified: 2017-04-14 11:13 by 196.207.97.65