News portal. Let's showa lot of news

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Cieska

News portal. Let's showa lot of news

Post by Cieska »

I have a news portal, but then i add to my page some limits as number=10, then i can show only 10 news.
I want that after these 10 news i can see more links to other news (see the picture). I want to have a lot of news, but not in one page.
I dont know how to do it.



[gelöscht durch Administrator]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News portal. Let's showa lot of news

Post by Dr.CSS »

In the Extensions » Modules you see Help click that to get the parameters it takes, you can use these 2 to get what you need...
{cms_module module='news' number='10' start='11'}
just up the start number on each page after and put your pages one after the other and the self links at the bottom will take you to the next pages, to get the numbers (1 - 10) etc. will take some additional coding.

# (optional) start="5" - Start at the nth item -- leaving empty will start at the first item.
# (optional) number="5" - Maximum number of items to display =- leaving empty will show all items.
Locked

Return to “CMSMS Core”