markfutch
I have been using the excellent template simple-sidebar on my wiki for some years.
I was just looking at updating this and have come across a problem. It seems for some time I have had 2 folders in the tpl folder , one named simple-sidebar and the other simple_sidebar.
Extension manager also shows 2 templates, one is reporting that it’s incorrectly installed as it needs to be re-named to the underscore version. I have tried on a virtual machine to uninstall either or both but whichever method I try results in it completely breaking. If I uninstall the older template however, it removes the correct folder but then the new version still reports an installation issue and prompts to rename the folder, it still it works though.
If I do rename it all breaks, if I uninstall and reinstall the I get the same result.
Ideas anyone?
turnermm
I believe this is the problem, that it shows 2 templates because there are two folders but with different names for the template. What you should try is to temporarily switch over to the default dokuwiki template. Then, delete both of these folders from the server directly, i.e. not using the Extension Manager. Then using the Extension Manager, search for the template in the search tab and then install it from the Extension Manager. But before you do this save your sidebar file, so that it is not accidentally deleted.
markfutch
Many thanks, doing it that way seemed to sort it.
Appreciate your help!
markfutch
Is there a minimum percentage the sidebar has to be?
If I make it any less than 20% I get problems namely, that the default page loads, I minimize the sidebar, and it's fine, I restore it and it's wider than the initial size?
turnermm
It has been many years since I made this template, and I seem to have hard-coded some measurements, so that it will always revert back to a default width. And I myself have always used the default.
markfutch
I don't suppose there is an easy fix for this is there? I am trying to use a sidebar of only 10% its just for the links to floormaps on my wiki so I'm trying to use as much of the real estate as I can and although I could hide it for these I'd prefer not to.