-
Notifications
You must be signed in to change notification settings - Fork 18
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
Flags in archive with "showhistogram" don't work #67
Comments
My guess is that it was intentional but I would consider it a bug. The An alternative I would also be happy with is to simply drop the histogram feature... But maybe people actually like/use it? |
I am not sure but for me the plugins works as follows: If you set the showhistogram option in the preferences, the histogram is used and a nice grouped layout is used (you are not able to deactivate it). If you do not activate it in the preferences, you are not able to activate it as an option - instead a simpler variant is used (simplelist, table, ... is possible). I use it with showhistogram because it looks nice. I will have a look at it (especially the recommended usage of the pagelist plugin) and post again in 1-2 days... |
@qwertologe But is it really the histogram you want, or is it the grouping, or is it the list in the form "date-title"? Because I think these are actually three different features. For example you could have histogram and grouping with the pagelist output. |
@michitux No, i don't need the histogram but the grouping. I am not sure, how to achieve this with the pagelist plugin. http://sk-schwanstetten.de/dw/doku.php?id=archiv The code for this is simply: I have enabled the histogram with This setup works without the pagelist plugin (as i recognized in this minute). |
It is currently not possible, but I think the plugin should be changed to make it possible. |
Maybe the "showhistogram" should be changed to somethink like "bloglayout" or "internallayout". This (and updating the plugin-docs at dokuwiki.org) should clarify the things. But: This will break the sites using it...
A solution for:
.. would be a change archive.php:
or "hidehistogram", "nohistogram", "nobloglayout", "nointernallayout" or whatever you want... The new flag must then be mentioned in the docs. |
I'm not sure if this behaviour is intentional and therefore only a "bug" in the documentation or if it's unintentional and a real bug.
The documentation gives this as the example code for a blog archive:
But as soon as the
showhistogram
config option is set, the code doesn't call the pagelist plugin at all and does its own thing. Therefore it also doesn't do anything with the flags.(The name and description of the option is also misleading because it doesn't just show a histogram, but it changes the whole design and functionality of the archive.)
The text was updated successfully, but these errors were encountered: