samuelet / indexmenu

A dokuwiki plugin to show a customizable and sortable index for a namespace.
http://dokuwiki.org/plugin:indexmenu
GNU General Public License v2.0
45 stars 43 forks source link

indexmenu does not work - js problem with vector template? #15

Closed Henry31 closed 11 years ago

Henry31 commented 11 years ago

Hey,

i installed my dokuwiki Weatherwax RC1 with the vector template. After that i installed your indexmenu plugin but it didn´t work fine... Here is a screenshot: indexmenu js_error

This is the syntax: {{indexmenu>..|js#bj-tango.png navbar}}

With the default templates i didn´t work also...

Indexmenu Version: 2009-08-29

Can you help me?

Thanks a lot. Henry (Germany)

Klap-in commented 11 years ago

At the moment we perform the last testing of the devel version of the indexmenu plugin. Can you try it too? see https://www.dokuwiki.org/plugin:indexmenu for info.

Henry31 commented 11 years ago

Wow it seems to work fine! :+1:

Thanks a lot for this quick response! :)

indexmenu-devel_works_fine

Henry31 commented 11 years ago

I continue testing a bit and find out that Opera will Crash if i open this dokuwiki with your indexmenu plugin. And if i clicked on the red arrow it´s displayed the contextmenu too much to the right...

Klap-in commented 11 years ago

Do you have pictures please? Can you provide the version numbers of the browser and operation system. And of your dokuwiki and your template too? Thanks.

Henry31 commented 11 years ago

Context Issue: Operation System: Windows 7 64bit Firefox: Version 19.0.2 Chrome: Version 26.0.1410.43 m Dokuwiki: Release 2013-03-06 "Weatherwax RC1" Vector (Template): 2013-02-19 (Official compatible with DokuWiki Weatherwax) indexmenu_contextmenu_position_issue

Opera Issue: Version: 12.14 Build: 1738 Opera crashes and closes when i open the dokuwiki

Klap-in commented 11 years ago

About the ToC: you clicked on the red arrow at the left side of your image?

About Opera: i can reproduce it. No idea how to debug it.

Henry31 commented 11 years ago

Yes i clicked on the red arrow. But from the article "DokuWiki" so it´s the right ToC but the position is wrong and it didn´t look nice. But i can life with that for the moment.

About Opera: the same thing I have also noticed...

Klap-in commented 11 years ago

btw, maybe a part of the layout is fixed when you refresh the cache of your browser by Ctrl + F5 or Ctrl + R

Henry31 commented 11 years ago

i had already refresh the cache...

Klap-in commented 11 years ago

In the mean time i tracked that the messy design of the contextmenu is caused by sitenotice class of vector. I requested an update of vector. But i will also update some parts of the css of the this plugin to improve the appearance.

Klap-in commented 11 years ago

I cannot reproduce the position issue of the toc popup, positioning is fine here..

Klap-in commented 11 years ago

Ah, the position problem is a Weatherwax specific issue, it doesn't affect the releases before.

samuelet commented 11 years ago

Contextmenu style can be override creating a custom style.css file inside the indexmenu/images/THEME (in your case bj-tango.png) containing something like this:

.indexmenu_toc .indexmenu_toc_inside * {
    border: 0px solid;
}

https://www.dokuwiki.org/plugin:indexmenu#custom_theme_css_style

Klap-in commented 11 years ago

The commit 8c3e79e1c6 fixes the bad layout of the popup ToC.

Includes also a temporary fix, that needs attention of the vector template developer https://github.com/syn-systems/dokuwiki-template-vector/issues/16

Better the opera bug becomes a separate bug.

Henry31 commented 11 years ago

Thank you for your Support! I will be able to test it on next weekend :) The Issue from the dokuwiki-template-vector is also under my watching.

:+1:

Klap-in commented 11 years ago

if i'm tracking this issue right, it is fixed.

Klap-in commented 11 years ago

Opera issue is fixed too, see #17.

Henry31 commented 11 years ago

Thanks a lot! :)

atlarep commented 8 years ago

I have this same issue but on Internet Explorer only. The console does not show any errors, but all I get is text in the nav box.