News module Titles & Summaries in separate divs

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
sandaha
Forum Members
Forum Members
Posts: 23
Joined: Thu Jul 05, 2012 2:11 am

News module Titles & Summaries in separate divs

Post by sandaha »

Hi people,

I've been setting up a news page with the news module and have been banging my head against a wall trying to achieve something. Can anyone help?

I'm trying to get separate news stories in 3 different divs. So;

<div>Story head 1, Summary1</dev>
<div>Story head 2, Summary2</dev>
<div>Story head 3, Summary3</dev>

Now, I know I can use "idlist" and assign the relevant ID. However, this is clunky. What I'd really like to do is automatically list the 3 most recent posts from left to right where story head and summary 1 above would be the most recent. story head and summary 2 the next most recent etc.

Can anyone tell me what to use instead of:
{News summarytemplate="News Summary" moretext="Read more..." idlist="1"}

All help gratefully received
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: News module Titles & Summaries in separate divs

Post by Jos »

Did you check the news module help? Look at parameter pagelimit or number.

And any <div> you want you can put in your News Summary Template
sandaha
Forum Members
Forum Members
Posts: 23
Joined: Thu Jul 05, 2012 2:11 am

Re: News module Titles & Summaries in separate divs

Post by sandaha »

Thanks Jos. I got it working with a combination of "pagelimit" and "start"
Locked

Return to “[locked] Installation, Setup and Upgrade”