Page 1 of 1

News module Titles & Summaries in separate divs

Posted: Mon Aug 21, 2017 7:11 am
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

Re: News module Titles & Summaries in separate divs

Posted: Mon Aug 21, 2017 9:46 am
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

Re: News module Titles & Summaries in separate divs

Posted: Mon Aug 21, 2017 11:51 pm
by sandaha
Thanks Jos. I got it working with a combination of "pagelimit" and "start"