Page 1 of 1

two news sections?

Posted: Tue Aug 28, 2007 5:00 pm
by kpmcguire
I'm working on a site that will end up requiring two news sections. I have CMSMS set up for one, and it's working no problem.

I have created a second page with the content type of "news." However, this doesn't really seem to do anything.

What I'm thinking is that there would be some type of parameter where I can specify which source to pull the news from, like this:

          {news number='3' source='myevents'}

and then elsewhere:

          {news number='10' source='myblog'}

And then also have some way to do the same thing with the detail page. Something to that effect.

Is this possible with CMSMS? I'm thinking that I might be able to do this with categories, but I'd rather keep the two news sections completely separate if I can.

Thanks.

Re: two news sections?

Posted: Tue Aug 28, 2007 5:13 pm
by Nullig
Yes, categories is the way to do it.

{news number='3' category='myevents'}

Nullig

Re: two news sections?

Posted: Tue Aug 28, 2007 5:18 pm
by RonnyK
The calling of the news with {news} is OK. In the next release will the content-type "news" been gone.......

With the new version of NEWS from 1.1 on, you can even have different templates for "summary" and "detail". This makes it possible for you to show different template for every calling.

Ronny

Re: two news sections?

Posted: Tue Aug 28, 2007 5:27 pm
by kpmcguire
Thanks guys, I think I've got it now.