tormec / acmenu Goto Github PK
View Code? Open in Web Editor NEWDokuWiki plugin which provides an accordion menu for namespaces and relative pages.
Home Page: https://www.dokuwiki.org/plugin:acmenu
DokuWiki plugin which provides an accordion menu for namespaces and relative pages.
Home Page: https://www.dokuwiki.org/plugin:acmenu
When no cookie is saved yet, the following lines:
Lines 159 to 165 in 32a81f8
causes the error (in the web console):
Uncaught ReferenceError: jQuery is not defined
Consider if it's possible to rid of those lines without any backward compatibility issues. To test.
I want to open the category pages themselves but clicking on the only opens/closes the menu
foo:0
points to page foo
.
The reason is that array_filter() called here
Line 274 in 71fc7bb
false
entries.As soon as dokuwiki is opened, for the 1st time (that is no pages have been yet saved in the cookies), the following warning appears:
Warning: Undefined array key "plugin_acmenu_open_items" in /../../AcMenu/syntax.php on line 181
but immediately after the cookie is created, refreshing the page, makes the warning disappears.
Installed AcMenu via DokuWiki Extension Manager. The plugin seems to be working (shows in sidebar) but there is no entry in the Configuration Manager. Is it supposed be be this way, which would be unlike other plugins?
Good evening sir or madam.
I have been using AcMenu for the past week or so and would like to say it is amazing! It really helps with submenu navigation in a very easy to use manner.
I am running into an issue with it though. It currently pulls the pagename as written in the URL, so pages that have spaces end up with _ in between the words, and capitalization is ignored.
I am not sure if it is an issue with my naming structure, a bug, or a feature, but I noticed in your animated gif on the main page (not on GitHub) that it does support spaces and capitalization
Hello, I recently installed the plugin on a PHP 8.1 instance with DokuWiki “Igor” but I noticed that subpages are not being performed correctly. For example I created the page with ID “wiki” and within that namespace I created subfolders but notice that the namespace name is displayed (“wiki”) and the page name is displayed as a separate item (“DokuWiki”) . When I click on the “wiki” namespace it displays the child pages and when I click on “DokuWiki” it loads the page with id “wiki”.
I believe this problem maybe related to the “:start” namespace suffix because it shows the ns page (":wiki:start") as inexistent (red link), but the page itself exists (":wiki"). Enabling/Disabling the “useheading” parameter at DokuWiki config didn't seems to affect this issue.
I’m using the Read the DOKUS template. The CSS is wrong so the sidebar is misaligned but I pretend to report it soon.
acmenu plugin keeps crashing with sprintdoc template. I desperately need to either disable the template or acmenu plugin, and then delete all the cache to deal with the null array error at line 390 in acmenu code.
foo:0:start
becomes foo:start
and causes infinite loop ending with a PHP error.
The reason is that array_filter() called here
Line 289 in 3f7d11e
Line 309 in 3f7d11e
false
entries.Due to absolute path in style.css images of menu items are unavailable if dokuwiki installed not in root directory.
Changing of image url to something like url(../../images/bullet.png) worked out for me, but it could be not the best solution.
Hi, I'm reading the documentation and saw that this plugin supports the hidepages options.
I'm trying to hide wiki and playground namespaces, but I can't figure out how to do this.
Please, someone can help me do this?
I'd like to mention an incompatibility that people have been experiencing when using the AcMenu plugin with the Boostrap 3 template. There is an issue for this on the github page of the template: giterlizzi/dokuwiki-template-bootstrap3#497
As written there, the menu is loading correctly in the sidebar, but it doesn't react to clicking, The folders do not expand and pagelinks are not being opened, but there are no errors on screen or in log files. And when accessing the sidebar page directly (with http://wikiurl/namespace/sidebar) everything is working fine, it is just in the sidebar that there is an issue.
Given that the problem started occuring after an update to the template, I suppose the incompatibility is in a recent change over there. However, given your expertise on how AcMenu works, I thought perhaps you would have an idea of where the issue originates.
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.
Hello,
The following error is shown at the page header when editing the sidebar
namespace with the Argon template (the only content of the page is the AcMenu itself):
Warning: Trying to access array offset on value of type null in /home/robertinho/public_html/wiki/lib/plugins/acmenu/syntax.php on line 121
Warning: Trying to access array offset on value of type null in /home/robertinho/public_html/wiki/lib/plugins/acmenu/syntax.php on line 122
Warning: Cannot modify header information - headers already sent by (output started at /home/robertinho/public_html/wiki/lib/plugins/acmenu/syntax.php:121) in /home/robertinho/public_html/wiki/inc/actions.php on line 38
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.