two news sections?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
kpmcguire

two news sections?

Post 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.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: two news sections?

Post by Nullig »

Yes, categories is the way to do it.

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

Nullig
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: two news sections?

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

Re: two news sections?

Post by kpmcguire »

Thanks guys, I think I've got it now.
Locked

Return to “CMSMS Core”