nomadjimbob / mikioplugin

Mikio Plugin adds a heap of layout and Bootstrap 4 elements that can be used on your DokuWiki pages.
http://dokuwiki.org/plugin:mikioplugin
GNU General Public License v2.0
12 stars 1 forks source link

Pagenation highlight and next/prev not working #26

Closed armandostyl closed 10 months ago

armandostyl commented 11 months ago

Pagenation doesn't seem to be working (highlighting or next/prev functions). Perhaps it doesn't work with nice urls?

nomadjimbob commented 11 months ago

Thanks for reporting this. Can confirm that the pagination breaks with nice urls set (and that it is spelt incorrectly). I'll fix this asap.

armandostyl commented 11 months ago

I think it's still not working if slashes are used to separate namespaces, instead of :.

nomadjimbob commented 11 months ago

Thanks for letting me know. A fix was applied to that a few minutes ago. I've reopened the issue for now just so it stays in my todo list to check again before todays update release

nomadjimbob commented 11 months ago

Need to update the code to accomodate the following condition:

nomadjimbob commented 11 months ago

I believe I have fixed this now. It may not work when using .htaccess options with rewrites as there is no way of determining what format is being used, but I think I have caught most cases.

Please let me know if it is still not working as I have missed something or a certain case.

WetenSchaap commented 11 months ago

The Prev/next buttons are working now, thanks!

However, pagination now looks different then before I applied the update. Before it looked like it does in the wiki (but without the current page highlighted). After the update it looks like this:

image

nomadjimbob commented 11 months ago

Fixed a bug with the LESS code which may be causing what you are seeing. You may need to refresh your browser cache as well. Let me know how it goes

WetenSchaap commented 11 months ago

Perfect thanks for the quick action!

image