BlogSphere V3 - Feature Request: Show number of entries in each month (side block)Created on |
Mar 16, 2007 |
Created by |
Thomas Bahn |
Status |
Submitted |
I wanted the number of entries in each category to show up in brackets after the month in the archives side block.
Therefore I have added a new, forth column to lkp_Block_MonthArchive view, value: 1, total, no details in rows.
Then I have modified SideBlockByMonth() in RenderEngine.SideBlocks by replacing the line
RenderedHTML = RenderedHTML + |<li class="module-list-item"><a href="|+configDoc.cfg_basic_HomeURL(0)+|/archive?openview&type=Month&key=| + key + |">|+textKey(0)+|</a></li>|
by
RenderedHTML = RenderedHTML + |<li class="module-list-item"><a href="|+configDoc.cfg_basic_HomeURL(0)+|/archive?openview&type=Month&key=| + key + |">|+textKey(0)+| (|+Cstr(categoryViewEntry.ColumnValues(3))+|)</a></li>|
Taken Actions by OwnersNo actions have been taken yet.