want to hack news module - advice required

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

want to hack news module - advice required

Post by scotch33 »

HIya,

I have a site where I just want the first three items of news to appear on the home page - I have set the news up to show as follows -

and on an 'archive page' have set news to show as follows -

however, on my hime page I am getting the "Page 1 of 2  > >>" link that allows people to move around all news.  I want to remove this "Page 1 of 2  > >>" link from the home page, so that if people wish to read news other than the first three articles they have to go to the dedicated news page.

So my question is - how can I stop the "Page 1 of 2  > >>" from appearing - can I do it in the admin, or do I need to hack a file, and if so, which one?

Thanks!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: want to hack news module - advice required

Post by RonnyK »

THat is part of the news-templates. If you dont specify a summarytemplate in the calling of News, the one under "Content -> News -> Summary template", with the tick, Default, will be used. You could either change that template, or create a new one and call it specifically.

The pagination is done on the top of that template......

Ronny
Locked

Return to “[locked] Installation, Setup and Upgrade”