Page 1 of 1

[Solved] News summary showing two stories in 1.12

Posted: Wed Jun 17, 2015 9:06 am
by chillifish
I have a news summary at the top of my site that is coded like so:

Code: Select all

{news number='1' sortby='random' summarytemplate='header-summary'}
Since upgrading, it now displays two news items rather than 1.

Re: News summary showing two stories since upgrade to 1.12

Posted: Wed Jun 17, 2015 10:36 am
by velden
chillifish wrote:I have a news summary at the top of my site that is coded like so:

Code: Select all

{news number='1' sortby='random' summarytemplate='header-summary'}
Since upgrading, it now displays two news items rather than 1.
It's a bug in that version of news. IIRC it will be solved in a next release of cmsms 1.x

Re: [Solved] News summary showing two stories in 1.12

Posted: Wed Jun 17, 2015 1:24 pm
by chillifish
Thanks for that. Anyone else having this problem, I've used CSS to hide it as below:

Code: Select all

div.NewsSummary:nth-of-type(2) {
	display: none;
}
I'd rather it weren't there at all, but this should work until the fix is published.