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
44 stars 42 forks source link

Indexmenu don't available, till going to admin > Plugins and click save again #307

Open xstable opened 4 months ago

xstable commented 4 months ago

IndexMenu-Version: 2024-01-05 DokuWiki 2024-02-06a "Kaos"

If I enter the Page, I don't see any Index-menu. To see it again, I must go to Wiki-Admin Settings (doku.php?id=projekte:start&do=admin&page=config) and click "Save".

Then it work as expected.

Klap-in commented 4 months ago

Is the tree on an wiki page, or in the sidebar? Which syntax do you use? Was once a resave of the Config Manager enough? or do you need the resave more often?

xstable commented 4 months ago

Implemented in Sidebar:

====== Navigation ======
{{indexmenu>:#1|js#thread}}

image

Need to re-save it anytime I come back to the page (after a while)

Klap-in commented 4 months ago

In your case everytime the tree vanishes?

Resaving expires the stored caches. There are more reports that tell about related issues, they all feel cache related. However, sofar I have not yet reproduce it on my test setup. That slows down solving the issue.

xstable commented 4 months ago

I use dokuwiki now over many many years, and even your indexMenu. Worked before like a charm. Appears since the last dokuwiki upgrade.

BTW:

  1. Today I open the wiki, and the menu was still there. Keep an eye on it, if it disappear again. It's not everytime, but very often.
  2. I Use brave and Vivaldi as browser (which include some Tracker-Blocker). Maybe that info help you a bit by reproducing the issue.

If it's something about the cache, maybe you try to invalidate the cache for a shorter period, so that the page is forced to reload the index-menu?