giterlizzi / dokuwiki-template-bootstrap3

Bootstrap-based template for DokuWiki
https://dokuwiki.org/template:bootstrap3
GNU General Public License v2.0
220 stars 77 forks source link

Navbar Items Improperly Formatted #481

Closed TheZachh closed 4 years ago

TheZachh commented 4 years ago

Description

As of the latest version of this template, when I install bootstrap3 into a freshly installed copy of Dokuwiki, I've noticed the navbar items have a weird :active state. I've tried to correct this but can't find where this is defined in the theme.

This happens in all themes, regular, default, bootswatch, etc. The navbar items elevate when in an active state. I've tried to use CSS to correct it but it doesn't seem to take. Why is this happening?

Screenshot 2020-05-28 13 22 12

Navbar code: Screenshot 2020-05-28 13 29 42

PS. Bootstrap 3.3.7-3.4.1 are ancient. Will we ever be getting a bootstrap4 template or do I need to try and hack this one to pieces to upgrade it? :P

Thanks for your help.

jiyuxiongdi commented 4 years ago

Try wrapping the title like this: [[:ahs:index | {{AHS}} ]]

giterlizzi commented 4 years ago

@TheZachh Do you have installed other plugins ?

lukas2511 commented 4 years ago

It seems that dokuwiki is now handling the curid marking using javascript ("currentIDHighlitghting" in lib/scripts/page.js), and this probably breaks the replacement rules inside this template.

TheZachh commented 4 years ago

@jiyuxiongdi Why would you format a navbar with the {{}} ? I tried it and it just rendered my items with the braces around them.

@giterlizzi I do have a couple of plugins, so I created a completely fresh blank wiki and installed this template and found the same bug happening.

@lukas2511 Great find! Is there a way to resolve this or do I need to wait for an update? Its not a show stopper but it looks ugly :P

giterlizzi commented 4 years ago

@TheZachh Added support for Hogfather in last commit in develop branch

giterlizzi commented 4 years ago

Today is Hogfather and Bootstrap Template release day!