1776 Posts in 498 Topics by 533 members
Blog Module
SilverStripe Forums » Blog Module » How to add Number of Entries to Blog's Archive widget?
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 381 Views |
-
How to add Number of Entries to Blog's Archive widget?

9 April 2012 at 3:57pm
Hello all. I've been trying to add an entry count to the blog's Archive Widget, but without any success. I've tried adding COUNT in the SQL statement and moving the DISTINCT clause in to parens, but this clobbers the AS \"Month\" and AS \"Year\" needed for the actual widget. I'm just looking for a simple count of entries per each result which I can render in my sidebar:
April 2012 (3)
March 2012 (12)
February 2012 (17)etc.
Thanks in advance for any thoughts or pointers.
Patrick -
Re: How to add Number of Entries to Blog's Archive widget?

16 April 2012 at 11:07am
Does anyone have any thoughts on this? It seems like a standard request, but I wasn't able to find any trace of it on the forum or elsewhere on the google.
| 381 Views | ||
|
Page:
1
|
Go to Top |

