Pagination in News Module

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
faglork

Pagination in News Module

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Pagination in News Module

Post by tsw »

you can change the documentation also. forum username / password work in wiki.
cyberman

Re: Pagination in News Module

Post by cyberman »

Done :).
parasito

Re: Pagination in News Module

Post 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.
Post Reply

Return to “Tips and Tricks”