Page 1 of 1
Module NEWS
Posted: Sat Oct 25, 2008 10:11 pm
by Pépou
Hello,
I've got a little problem with my website..
I want the last five news on the index of my website, so I activated the option.
But the problem is that the link to see the next five news is a the top of the page. I want it at the bottom of the page.
What can I modify to change this little dis gracious thing ?
The page with the problem :
http://www.carabinsnicois.fr/
Thank you in advance.
Re: Module NEWS
Posted: Sat Oct 25, 2008 10:22 pm
by Nullig
Move the paging section (seen below) from the top of the Summary template to the bottom, after the {/foreach} tag.
{if $pagecount > 1}
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber
{/if}
Nullig
Re: Module NEWS
Posted: Sun Oct 26, 2008 8:17 am
by Pépou
Thank you very much !!!
Re: Module NEWS
Posted: Fri Jan 14, 2011 8:56 am
by clapczyn
Hi everybody!
I'm having a strange problem with the pagination of newspages that fits this older post …
Usually I just put the "if pagecount" section to the bottom (right after the "foreach"-tag to display it on the bottom of the news articles and it always worked fine.
This doesn't work on my latest page: at the top of the articles it is visible - just not at the bottom …
Any suggestions?
My system:
CMS-Version 1.9.2
News 2.11
Template:
Code: Select all
{foreach from=$items item=entry}
code to display newsarticles
{/foreach}
<p>Seitenzahlen:
{if $pagecount > 1}
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
{/if}
</p>
I'm calling the module with the pagelimit="5" parameter (and it does show only 5)
Thanks in advance …
Stefan