Page 1 of 1

News on Homepage, it gives me page numbers!

Posted: Mon Feb 04, 2008 1:09 am
by ricardosalta
I have the homepage news tag inserted to list the last three news items.

The problem is when there are four or more -- page number selection links show up.

I don't want this. I want it to plain simply just display the latest three.

I tried to look at the documentation on the news module, without much luck.

Thanks for any help :)

-R

Re: News on Homepage, it gives me page numbers!

Posted: Mon Feb 04, 2008 5:08 am
by mechatech
To remove the pagination thing you will have to go to the news module and then the summary template, edit that template, you will need to remove the lines that look like this

{/foreach}
{if $pagecount > 1}
{if $pagenumber > 1}
{$firstpage} {$prevpage} 
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
 {$nextpage} {$lastpage}
{/if}
{/if}

may not be those lines exactly not sure where to stop deleting, but that should get you started