News Module Problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
KillerLinks

News Module Problem

Post 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!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: News Module Problem

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
KillerLinks

Re: News Module Problem

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: News Module Problem

Post 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'
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
KillerLinks

Re: News Module Problem

Post by KillerLinks »

Awesome, problem solved :)

Thanks Again!
Locked

Return to “Modules/Add-Ons”