news module - display all categories and every article in the category help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Kiwee
New Member
New Member
Posts: 7
Joined: Thu May 25, 2006 3:30 am

news module - display all categories and every article in the category help

Post 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
Last edited by Kiwee on Thu May 08, 2008 12:59 am, edited 1 time in total.
lainyrache
Forum Members
Forum Members
Posts: 106
Joined: Thu Oct 05, 2006 11:27 am

Re: news module - display all categories and every article in the category help

Post 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?
???
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: news module - display all categories and every article in the category help

Post by Dr.CSS »

Did you read the Help for News?...

It has a call for this...
lainyrache
Forum Members
Forum Members
Posts: 106
Joined: Thu Oct 05, 2006 11:27 am

Re: news module - display all categories and every article in the category help

Post 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?
  :D
thanks
Rachael
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: news module - display all categories and every article in the category help

Post by Dr.CSS »

It depends on how the categories are set up are they children, can you show how categories are set up?
lainyrache
Forum Members
Forum Members
Posts: 106
Joined: Thu Oct 05, 2006 11:27 am

Re: news module - display all categories and every article in the category help

Post 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
Post Reply

Return to “Modules/Add-Ons”