Page 1 of 1

News Module Problem

Posted: Fri Sep 07, 2007 1:59 am
by KillerLinks
Ok If I use This code:

Code: Select all

{news number='3'}
It does like it should and only displays 3 Items, BUT if the total number of items goes over 3, It displays the pagination control which I dont want it to do, is there any solution for this?

BTW I'd like to say that CMSMS has solved %90 of the problems and work involved with my web development company, we only found this software 3 weeks ago and already it has simplified everything for us!

Thanks!

Re: News Module Problem

Posted: Fri Sep 07, 2007 2:18 am
by calguy1000
Yes, you can remove the pagination stuff from your summary template.  then that stuff won't be displayed, and the user won't have the opportunity to go to the next/prev page.

Re: News Module Problem

Posted: Fri Sep 07, 2007 2:25 am
by KillerLinks
My site does not ever use the summary field, we do provide an archive though so the pagination is needed in the detail template, is there any parameter I can use to remove it on the content pages I don't want it on?

Re: News Module Problem

Posted: Fri Sep 07, 2007 3:04 am
by calguy1000
In News 2.3 + you can create multiple different detail and summary templates.... adjusting each as your needs fit, and just specify which one you want on the {news} tag. i.e.:

{news sumamrytemplate='myfunkysummarytemplate'}

All of the parmters for news are listed under the help link on the 'News' row in 'Extensions >> Modules'

Re: News Module Problem

Posted: Fri Sep 07, 2007 4:23 pm
by KillerLinks
Awesome, problem solved :)

Thanks Again!