Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How to add Number of Entries to Blog's Archive widget?


Reply


2 Posts   632 Views

Avatar
phawley

Community Member, 21 Posts

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

Avatar
phawley

Community Member, 21 Posts

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.