Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with JS in release 2017-02-19b "Frusterick Manners" #175

Closed
sorenweber opened this issue Apr 24, 2017 · 2 comments
Closed

Comments

@sorenweber
Copy link

sorenweber commented Apr 24, 2017

After having upgraded, my sidebar does not display the navbar properly.
The code is {{indexmenu>.#3|js#leopard navbar skipfile+/[ci]_template/}} and the (first part of the result looks like this:
<!--//--><![CDATA[//><!-- var indexmenu_207313865958fdc41123327 = new dTree('indexmenu_207313865958fdc41123327','default'); indexmenu_207313865958fdc41123327.config.urlbase='/doku.php?id='; indexmenu_207313865958fdc41123327.config.sepchar=':'; indexmenu_207313865958fdc41123327.config.jsajax='%26skipfile%3D%252B/%255Bci%255D_template/'; indexmenu_207313865958fdc41123327.add('q',0,-1,"q",'q:start'); indexmenu_207313865958fdc41123327.add('q:departments',1,0,"departments",0,1,0); indexmenu_207313865958fdc41123327.add('q:departments:design_projects',2,1,"design_projects",'q:departments:design_projects:start',1,0);

Having experimented a little it looks like it is the javascript that causes a problem.

How it should look (and did prior to upgrade):
image

How it looks after the upgrade:
image

@poeschke
Copy link

poeschke commented May 2, 2017

I am facing exactly the same issue with my installation.

When loading or refreshing the page, the Indexmenu gets displayed for about half a second correctly, then gets replaced by the source code fragment shown above.

Just checked the problem with another template:

  • with the "lisps" template the issue occurs
  • with the "arctic" template the Indexmenu looks as usual and works fine

@sorenweber
Copy link
Author

sorenweber commented Aug 28, 2017

Having tested with the default dokuwiki template and seeing it working, I believe the issue is with the template I use, rather than with the indexmenu extension itself. Thus, one should look into updating templates if this issue is encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants