Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: mdn_count
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: mdn_count
humanoid, that is really cool.
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
#39 2005-04-16 15:43:11
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: mdn_count
Well, as far as I remember, it only counts for one section. It wouldn’t be hard to extend it to multiple sections as I’ve done that before in the past to a few plugins of mine. However as I recall this was sort of a quick and dirty single section counter.
Essentially it would do what you want inside a particular section, but if you’re mixing sections on the front page, then the count will be off.
Offline
Re: mdn_count
Remillard: for a quick and dirty one, it is an excelent plugin.
alicson. gbl_blog_stats did the job. Thanks
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#41 2005-04-27 14:54:46
- LichiMan
- New Member
- Registered: 2005-03-22
- Posts: 3
Re: mdn_count
I want something like philtered, I’ve a list of categories with:
<code><txp:category_list wraptag=“ul” break=“li” /></code>
and I want the count after each item in the list too.
Anyone can help us?
Thanks.
Last edited by LichiMan (2005-04-27 15:04:34)
Offline
Re: mdn_count
You can use rss_suparchive_bycat to display a list of categories with an article count. It uses the mdn_count plugin to calculate the count.
You can see the results on my site. The call to the plugin is:
<txp:rss_suparchive_bycat section="article" linktosection="archive" showcatsonly="1" />
Last edited by wilshire (2005-04-27 15:12:24)
Offline
#43 2005-04-27 17:12:46
- LichiMan
- New Member
- Registered: 2005-03-22
- Posts: 3
Re: mdn_count
Thank you so much wilshire! It works nicelly.
If you have a category with 0 articles, this plugin doesn’t show the category in the list, is there a way to show it?
Thanks anyway : )
Offline
Re: mdn_count
No, if you wanted to show all categories even if they didn’t have posts you could use something like stw_category_tree but then you wouldn’t have the counts.
Offline
#45 2005-04-27 18:48:19
- LichiMan
- New Member
- Registered: 2005-03-22
- Posts: 3
Re: mdn_count
Ok, Thanks :) I prefer your plugin then :)
Offline
Re: mdn_count
txp:rss_suparchive_bycat section=“article” linktosection=“archive” showcatsonly=“1” (Wilshire)
Yep – downloaded the plugin…did this and it’s looks fantastic, seems to have worked…except for one thing – it links to an address which is in the format of:
http://www.urlofsite.com/archive/?c=categoryX
But my site is forced to use the ‘Messy’ way of linking and my categories are all found by using this format instead:
http://www.urlofsite.com/index.php?c=categoryX
How can this format be amended in the ‘suparchive’ plugin so that it will work correctly?
…..(I’ve taken a peek at the code but haven’t changed anything yet as I can’t see how to do this).
I hope you can help me with this as it would be a shame to abandon it – many thanks,
Matt
Last edited by mattrobin (2006-01-02 18:44:25)
— — — — — — — — —
www.mattrobin.com
Offline
Re: mdn_count
Quick question, possibly a small bug. I am using the plugin to count articles in a category. I often post article in the future so they post a a certain time. So if I publish the article but its not viewable until the specified time comes around the plugin still counts the article. any thoughts..? Thanks
Offline