[Solved] News summary showing two stories in 1.12

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.
Post Reply
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

[Solved] News summary showing two stories in 1.12

Post 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.
Last edited by chillifish on Wed Jun 17, 2015 1:22 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: News summary showing two stories since upgrade to 1.12

Post 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
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

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

Post 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.
Post Reply

Return to “CMSMS Core”