Coder Social home page Coder Social logo

acmenu's People

Contributors

machx428 avatar metaphox avatar tormec avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

acmenu's Issues

jQuery is not defined at the very first load

When no cookie is saved yet, the following lines:

AcMenu/syntax.php

Lines 159 to 165 in 32a81f8

if (!isset($open_items) || isset($open_items) && count($open_items) == 0) {
$renderer->doc .= "<script type='text/javascript'>";
$renderer->doc .= "jQuery('div.acmenu ul.idx li.open div.li:not(:has(span.curid))')
.next().hide()
.parent().removeClass('open').addClass('closed');";
$renderer->doc .= "</script>";
}

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.

Trying to access undefined cookie array

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.

Configuration Manager

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?

AcMenu Not Using PageName in visible part of URL

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

Please help
Thank you
Annotation 2020-04-13 201055

Doesn’t load page title accordion correctly

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”.
1AB61444-F89F-4528-9893-CE93027FAFCC
0401A231-C960-4EAD-8B37-00A2B227BFC6
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.
image
I’m using the Read the DOKUS template. The CSS is wrong so the sidebar is misaligned but I pretend to report it soon.

incompatible to sprintdoc template

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.

menu images unavailable

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.

How to exclude namespaces

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?

Incompatibility with recent versions of the bootstrap3 template

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.

Some pages not appearing in sidebar

Can't figure this out. The pages have proper permissions, and are accessible via direct URL to my user, however the sidebar isn't "seeing" the pages. It does see other pages tho...also dokuwiki has no issue creating the .txt file, it just doesn't appear in the sidebar after

wiki
wiki2

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

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.

How to unnest from Top Level?

How do I remove the top level namespace from the accordion?

Currently everything collapses to the start page of the entire site.
image

How do I skip this top level and just show the namespaces and pages in the site?
image

Warning: Trying to access array offset on value of type null

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

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.