Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-08-13 07:33:00
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
presentation
how to list sections with no of articles in it.
Offline
Re: presentation
Please rephrase the question. It’s not really clear (to me at least) what you’re asking.
If possible, show us what you’ve tried to do (code example) and what you want it to do.
Offline
Re: presentation
i think he/she means something like displaying ‘Section Name (14)’. 14 being # of articles within that section name.
if thats the case, you can use something like mdn_count
Last edited by iblastoff (2007-08-13 10:51:32)
Offline
#4 2007-08-13 11:19:43
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
Re: presentation
actually i want to show some of the sections from my site with the no. of articles in it on a page.
i just want section listing..not section and their articles..
mdn_count will give count of articles in specified section..what to do for this?
<txp:section_list wont give article count in the section..
what to do for this?any help please?
Offline
Re: presentation
You either have to list the sections manually (not using section_list) and use mdn_count to show the number of articles… or write a plugin to do this (which I recommend as this can be done with a single SQL query).
Offline
#6 2007-08-13 12:28:38
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
Re: presentation
thank u so much
Offline
Pages: 1