Open anfray opened 1 week ago
I can confirm: the same happened for me. Updated from older extension version to latest version using update function in Extension Manager. Didn't find out until later that our navbar was missing for logged-out users: I'm a logged-in user! :)
Ended up having to revert by manually installing previous version (https://github.com/giterlizzi/dokuwiki-template-bootstrap3/releases/tag/v2022-07-27) using the .ZIP source code link in the above release and overwriting files. Seems to have restored the navbar to the proper operation.
This is a production website, but it's not heavily used and therefore would be willing to make controlled changes to the site if it would help for debugging purposes.
Thank you very much for your help!
Description
The navbar appears only when the user is logged (even when configured as "always").
Steps to reproduce
I am running a new dokuwiki install with bootstrap3 and bootstrap wrapper.
If I create a navbar, it appears only when a user is logged (even when configured as "always").
Versions
Release 2024-02-06b "Kaos" Template v2024-02-06 (hotfix/20241008)
Screenshots or Logs
Sample page or snippet
I browsed (rapidly) through the code Template.php and merely remove this instruction at the begging of public function getNavbar()
if ($this->getConf('showNavbar') === 'logged' && !array_key_exists('REMOTE_USER', $_SERVER) || !$_SERVER['REMOTE_USER']) {return false;}
Now the navbar is always there... but it does not seems to be a clean fix .. (hum) Bien cordialement Philippe