I have installed the Material Design template.
Under Configuration, under Sidebar, it says "sidebar page name (if template supports it), empty field disables the sidebar", and the value is set to "sidebar".
In the documentation for the Material Design template...
https://www.dokuwiki.org/template:material#download_and_install
...it says "if you wish you can now open the sidebar.php file and change its contents to your liking". On the server, at the command line, in vim I open file lib/tpl/material/sidebar.php, but I can't make heads nor tails of it. What would they want me to change in that file?
In the dokuwiki documentation for sidebars...
https://www.dokuwiki.org/faq:sidebar
it says to go to
http://your-wiki.com/doku.php?id=sidebar and create the page. I do that, but the resulting page appears as a normal page, it does not act as a sidebar.
What am I doing wrong?
Edit: I got it to work by editing sidebar.php like so:
//$sidebarPage = tpl_getConf('dokuwikiSidebar') == 1 ? true : false;
$sidebarPage = true;
Doesn't seem right, any help would be appreciated.
Also, what is the best way to change the logo/graphic at top left?
Edit #2: I managed to change the logo by hacking main.php, that don't seem right neither.
Edit #3: I found the correct way to enable the sidebar. In Configuration Settings, at the bottom, there is a section for the template, and there you can enable a flag called dokuwikiSidebar. As far as I can tell, this is not mentioned in any of the documentation linked above.