Giter Club home page Giter Club logo

Comments (6)

samuelet avatar samuelet commented on August 15, 2024

please try the devel branch: https://github.com/samuelet/indexmenu/archive/devel.zip .
If problem persists, please report also your dokuwiki version, template, and plugins installed.

from indexmenu.

Natenom avatar Natenom commented on August 15, 2024

Hi,
I have the same problem; it seems to be related to https://www.dokuwiki.org/config:useslash and https://www.dokuwiki.org/config:userewrite. I tested this with a fresh install of the current Weatherwax RC and the mentioned devel.zip. If useslash is enabled AND userrewrite is not 0, expanding of the current namespace does not work anymore. Works fine if disabled.

from indexmenu.

samuelet avatar samuelet commented on August 15, 2024

Natenon, please try the devel release (or 4,6-devel if your Dokuwiki is not compatible with devel): i've commited a patch on both branches for your issue.
Resave Dokuwiki settings to clear cache.

from indexmenu.

Natenom avatar Natenom commented on August 15, 2024

Installed the new version and saved settings.
The namespace opens :)
Thanks.

But there is another problem.
I use CSS to highlight the current opened page:
div.dtree a.navSel, div.dtree a.nodeSel {
font-weight: bold
}

The current opened page should be highlighted in the indexmenu, but this does not work for subpages:
http://tdw.natenom.name/doku.php/bla is highlighted
http://tdw.natenom.name/doku.php/testns/bla/sub/subsub is not highlighted

If I change userrewrite to none or useslash to no it works as expected.

Code for indexmenu is: http://tdw.natenom.name/doku.php/sidebar?do=edit&rev=0

If helpfull, you can get admin access to the DokuWiki.

from indexmenu.

samuelet avatar samuelet commented on August 15, 2024

Please update your indexmenu plugin with the last devel snapshot, it contains a fix for this issue.

from indexmenu.

Natenom avatar Natenom commented on August 15, 2024

It works; thanks much :)

from indexmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.