Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-04-16 13:33:33

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: mdn_count


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#38 2005-04-16 13:37:42

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

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

#40 2005-04-17 10:01:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

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

#42 2005-04-27 15:11:57

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

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.

&nbsp;

You can see the results on my site. The call to the plugin is:

&nbsp;

<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

#44 2005-04-27 17:23:52

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

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

#46 2006-01-02 18:41:51

mattrobin
Member
From: Hertfordshire, UK
Registered: 2005-10-08
Posts: 37
Website

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

#47 2007-08-17 17:01:46

danwoodward
Member
From: Brooklyn NY
Registered: 2006-08-06
Posts: 51
Website

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

Board footer

Powered by FluxBB