tormec / AcMenu

DokuWiki plugin which provides an accordion menu for namespaces and relative pages.
https://www.dokuwiki.org/plugin:acmenu
1 stars 3 forks source link

Fails to render if $conf["start"] is empty #12

Closed eduardomozart closed 1 year ago

eduardomozart commented 1 year ago

Hello, The DokuWiki Configurator uses the start by default and if the user attempts to empty it, it automatically fallback to start again, but the AcMenu stops to rendering the tree. I believe it's happening because even the DokuWiki configuration showing the default value of $conf["start"] to the end user at the DokuWiki Configurator, it's still an empty value at the config file. AcMenu should handle this falling back to the default value (start) if the value of $conf["start"] isn't set.

tormec commented 1 year ago

How did you manage to empty the startpage field? DokuWiki doesn't allow you to save that variable as an empty one.

image

eduardomozart commented 1 year ago

Strange, I was able to. Not a big issue though.