Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-01-30 09:21:53
- deronsizemore
- Member
- From: Kentucky
- Registered: 2005-11-02
- Posts: 324
Displaying number of articles in each category.
I have these as my categories: Business, Design, Site News, Web.
I’d like to have them display like this showing the number of articles in that specific category:
Business [3]
Design [2]
Site News [1]
Web [5]
I found this plug-in: mdn_count which I think does what I want, but I can’t figure out how to use it. I tried just using the tag by itself like so: <txp:mdn_count />
with no luck.
Currently, I’m just using this tag to display my categories: <txp:category_list wraptag="ul" break="li" />
Thanks
Deron
Offline
Re: Displaying number of articles in each category.
If this is for article categories you could have a look at cbs_category_list.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2006-01-30 13:56:12
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Displaying number of articles in each category.
I found this plug-in: mdn_count which I think does what I want, but I can’t figure out how to use it. I tried just using the tag by itself like so:
<txp:mdn_count />
with no luck.
The plugin works like this: <txp:mdn_count category="business" />
. You would have to handcode your category list to use it. Stuart’s suggestion is probably better.
Offline
#4 2006-01-30 17:58:42
- deronsizemore
- Member
- From: Kentucky
- Registered: 2005-11-02
- Posts: 324
Re: Displaying number of articles in each category.
Thanks for that Stuart! Worked like a charm!
Last edited by deronsizemore (2006-01-30 17:58:56)
Offline