Page 1 of 1
news module - display all categories and every article in the category help
Posted: Thu May 08, 2008 12:50 am
by Kiwee
i want to display all categories and show the articles in each category with links to display the article detail
i cant for the life of me firgure it out. i thought it would be done in the summary template, but i dont know how to group by category or program that much
ie
May 2008
article 1 title (link to display article 1)
article 2 title (link to display article 2)
article 3 title (link to display article 3)
April 2008
article 1 title (link to display article 1)
article 2 title (link to display article 2)
March 2008
article 1 title (link to display article 1)
article 2 title (link to display article 2)
article 3 title (link to display article 3)
thanks
Re: news module - display all categories and every article in the category help
Posted: Sat Aug 16, 2008 2:42 pm
by lainyrache
Hi Kiwee
Did you ever manage to get this to work?
I'd like to do exactly the same thing and can't figure it out, other than listing each category individually.
Any solutions?

Re: news module - display all categories and every article in the category help
Posted: Sat Aug 16, 2008 5:57 pm
by Dr.CSS
Did you read the Help for News?...
It has a call for this...
Re: news module - display all categories and every article in the category help
Posted: Mon Aug 18, 2008 9:37 am
by lainyrache
thanks for your help (yet again) Mark!
Yes I have read the help, and re-read it this morning, and I still can't find the call that would do exactly what Kiwee has outlined above.
That is, list all sub-categories within a category, and all the articles within each sub-category.
I must be missing something, probably very obvious. Could you possibly please point me to the relevant code, so even I can't miss it?

thanks
Rachael
Re: news module - display all categories and every article in the category help
Posted: Mon Aug 18, 2008 6:28 pm
by Dr.CSS
It depends on how the categories are set up are they children, can you show how categories are set up?
Re: news module - display all categories and every article in the category help
Posted: Tue Aug 19, 2008 8:18 am
by lainyrache
I have a category in news module called news, with sub categories of yearly archives and within them months, like this:
News
- 2008 Archive
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- 2007 Archive
- 2006 Archiveetc
I would like the articles within the month categories to be listed under month sub headings on pages relating to the year. eg
2008 Archive (page header)
August 2008
- article 1 title (link)
article 1 date
- article 2 title (link)
article 2 date
- article 3 title (link)
article 3 date
July 2008
- article 1 title (link)
article 1 date
- article 2 title (link)
article 2 date
- article 3 title (link)
article 3 date
... etc
is this possible using one template?
thanks
Rachael