Comments (6)
My guess is that it was intentional but I would consider it a bug. The showhistogram
mode was implemented by a different author, that's why it doesn't really fit in the plugin. I would suggest to use the pagelist plugin for the monthly archives in the showhistogram
mode. If this other list style is really desired we could also add this as an additional option/flag as a replacement for the pagelist plugin. It could also take a date format string as parameter, then it could also make sense for lists that cover more than a month.
An alternative I would also be happy with is to simply drop the histogram feature... But maybe people actually like/use it?
from plugin-blog.
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...
from plugin-blog.
@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.
from plugin-blog.
@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: {{archive>news:2015-2016?*}}
I have enabled the histogram with plugin»blog»showhistogram=true
and disabled it again with plugin»blog»max_months=0
:-)
This setup works without the pagelist plugin (as i recognized in this minute).
from plugin-blog.
It is currently not possible, but I think the plugin should be changed to make it possible.
from plugin-blog.
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...
Maybe better improve the hint at plugin»blog»showhistogram
:
# lang/../settings.php
$lang['showhistogram'] = '... (will activate an internal layout -> only the histogram options are considered)'
A solution for:
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).
.. would be a change archive.php:
# old (~ line 119)
if ($this->getConf('showhistogram')) {
# new
if (in_array('showhistogram',$flags) or ($this->getConf('showhistogram') and !in_array('noshowhistogram',$flags))) {
or "hidehistogram", "nohistogram", "nobloglayout", "nointernallayout" or whatever you want...
The new flag must then be mentioned in the docs.
from plugin-blog.
Related Issues (20)
- floating newentry_form HOT 5
- Avoid empty title / ugly pagename HOT 3
- working with <WRAP column> plugin HOT 1
- Print preview does not show the correct result. HOT 2
- namespace in Chinese can't be parsed HOT 1
- update version HOT 1
- Failed to handle action: preview HOT 1
- startSectionEdit errors on latest DokuWiki “Greebo” HOT 8
- Relative path ".:" does not work
- "~~DRAFT~~" does not work HOT 2
- Article pages do not show when they are in namespace with non-ascii characters
- Cache of archive page not correctly invalidated
- httpd core-dump error when plugin enabled on Igor/PHP 8 HOT 1
- I translated the plugin to Catalan language HOT 2
- [IGOR] New page with semicolon in title results in colon in namespace HOT 6
- new version, old date HOT 3
- sortkey configuration doesn't work; entries are always sorted by creation date HOT 2
- Problems with Sorting HOT 14
- << new entry | old entry >> not rendered properly
- Blog links to previous/next entries page do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-blog.