Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-02 16:11:22

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

num of articles in a section

First of all, a happy new year to everyone!

Secondly, sorry to ask, i’ve search (perhaps not hard enough? apologies) the faqs/forums but can’t seem to find an answer. Anyways, i have a sidebar list listing down the different categories my post will go into, is there a way to include thenumber of articles in besides the category name? For eg.

CATEGORIES
  • Design [2]
  • Personal [5]
  • Logo [1]

Also, another 3 things, how i include a eg.

1) “ Filed/Posted under ‘CategoryName’, ‘CategoryName’ “ at the end of my article post so that my readers know where it’s been categorised into?

2) Open links in in an external new window, i use js with rel=“external” to open all my current external links, how do i integrate it in txp?

3) How do i show the titles for my category links?

Thanks again in advance.

Last edited by KLS (2006-01-02 16:25:19)

Offline

#2 2006-01-02 16:39:53

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: num of articles in a section

<blockquote>KLS wrote:

First of all, a happy new year to everyone!

Secondly, sorry to ask, i’ve search (perhaps not hard enough? apologies) the faqs/forums but can’t seem to find an answer. Anyways, i have a sidebar list listing down the different categories my post will go into, is there a way to include thenumber of articles in besides the category name? For eg.

CATEGORIES
  • Design [2]
  • Personal [5]
  • Logo [1]
    </blockquote>

I´m showing my categories with article count using rss_superachive_bycat

You can show a link to articles category in post with tag <code><txp:category1 link=“y” /></code>

Last edited by -P- (2006-01-02 16:42:39)

Offline

#3 2006-01-02 20:10:17

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

Re: num of articles in a section

Thanks P, I’ll look into tat plugin, how didficult is it to configure? I thought there could be something simpler than it. Also, thanks for that tag, is there a way to make it show 2 categories instead of it?

Thanks again.

Offline

#4 2006-01-02 20:19:46

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: num of articles in a section

> KLS wrote:
3) How do i show the titles for my category links?

<txp:category title="1" />
(see Textbook)

Last edited by alexandra (2006-01-02 20:20:24)

Offline

#5 2006-01-03 06:39:25

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

Re: num of articles in a section

@-P-
I use <code><txp:category1 link=“1” title=“1” /></code> and it works too, what does the “y” do?

@Alexandra
Btw, i think i might have mis-explained:

3) How do i show tooltip-titles for all my txp links?

Last edited by KLS (2006-01-03 06:42:53)

Offline

#6 2006-01-04 13:08:51

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

Re: num of articles in a section

sorry to bump.

Offline

#7 2006-01-05 19:08:55

Jeff_K
Archived Plugin Author
From: Vancouver, British Columbia
Registered: 2005-08-19
Posts: 202
Website

Re: num of articles in a section

Check out mem_article_count. This will return the number of articles in a section or category.

Offline

#8 2006-01-05 22:24:05

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

Re: num of articles in a section

> Jeff_K wrote:

> Check out mem_article_count. This will return the number of articles in a section or category.

Where can i find more about this tag/plug-in?

Offline

#9 2006-01-05 23:34:47

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: num of articles in a section

mem_article_count.
There is also mdn_count.

Edit: I don’t think the txp:category tag allows you to use the html title attribute. You’d have to handcode the links if you want that.

Last edited by doggiez (2006-01-05 23:39:57)

Offline

#10 2006-01-05 23:48:23

KLS
Member
From: Singapore
Registered: 2005-12-26
Posts: 35
Website

Re: num of articles in a section

Thanks doggiez. Any idea if they’re compatible with 4.0.3?

Offline

Board footer

Powered by FluxBB