indexmenu icon indicating copy to clipboard operation
indexmenu copied to clipboard

context option seems not works

Open wilsonlmh opened this issue 9 years ago • 1 comments

The {{indexmenu>.#1|context}} not works. What I expect(and my understanding) {{indexmenu>.#1|context}} will equal to {{indexmenu>.:subns#1|}} while im in index page of .:subns(correct me plz). However it doesn't works on my environment. My config: dokuwiki 2015-08-10 Detritus win2012/iis8 + php5.5 indexmenu 2015-08-26 all parameter for indexmenu leave empty/disabled except aclcache = none, headpage = all and show_sort = yes I didn't dig too deep into code(actually i dun understand the code and dun have time to read default methods from dokuwiki ). I did a cache flushing with cacherevisionserase plugin. and tried many way to delete/flush unwanted thing after backup but no luck. I know the context option was added since 2009. The possibility for something wrong inside your code is quite low. So is that any prerequisites needed for this? please help and thank you!

wilsonlmh avatar Sep 20 '15 13:09 wilsonlmh

context is meant for the sidebar, if you visit another page then the sidebar, the indexmenu should consider the namespace of your current page, not the namespace of the sidebar-page.

Klap-in avatar Jul 11 '20 19:07 Klap-in

No further feedback received, considered solved.

Klap-in avatar Dec 22 '23 14:12 Klap-in