Page 1 of 1

Pagination in News Module

Posted: Fri Nov 24, 2006 12:45 am
by faglork
Hello all,

there seems to be a slightly  misleading example given at
http://wiki.cmsmadesimple.org/index.php ... fined_Tags

The example given is

Code: Select all

{newsindex number='10' start='1'} 
but this will cause the news list to start with the SECOND news item.
Changing the parameter to

Code: Select all

{newsindex number='10' start='0'}
solves the problem.

This is easy to spot when you already have some news items, but if you have only one news item (e.g. right after after installing cmsms) it will simply show nothing - leaving you wondering what may be wrong ...

I tested with 1.02 Maui.

Anyone else observed this? If this is common behavior, I suggest to change the documentation accordingly.

Cheers,
Alex

Re: Pagination in News Module

Posted: Fri Nov 24, 2006 9:30 pm
by tsw
you can change the documentation also. forum username / password work in wiki.

Re: Pagination in News Module

Posted: Wed Dec 06, 2006 5:16 am
by cyberman
Done :).

Re: Pagination in News Module

Posted: Fri Dec 29, 2006 8:34 pm
by parasito
I cant get this hack to work for my news pages.

I followed everything by the book, but it does not display anything on the page.

Is there any other solution for news pagination?

thanks in advance.