I want to add more than 3 (may be 20 ) News articles on the main central part of the home page. How it can be achieved?
When I try to put number=20 it gives some error.
I tried
{foreach from=$items item=entry }
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
{$entry->titlelink}
{$category_label} {$entry->category}
{if $entry->author}
{$author_label} {$entry->author}
{/if} {if $entry->summary}
{eval var=$entry->summary}
[{$entry->morelink}]
{else if $entry->content}
{eval var=$entry->content}
{/if}
{/foreach}
But this gives only 3 articles. so please let me know.
Adding more than 3 news articles on the main content area in index page.
Re: Adding more than 3 news articles on the main content area in index page.
What happens if you just call {news} with the standard template for news-summary and news-detail. There is no need to specify the number you want to see, unless you want to how NOT all.
What version of CMSMS and what version of NEWS are you using, that helps in supporting.
Ronny
What version of CMSMS and what version of NEWS are you using, that helps in supporting.
Ronny
Re: Adding more than 3 news articles on the main content area in index page.

Thanks Buddy .. But was giving some error when I used {news} yesterday.
Now If I want some thing like 20 articles to be shown will number=20 work?
Also where can people see the archive?
Re: Adding more than 3 news articles on the main content area in index page.
Yes that will work,
see the help of News for the parameters you can pass.
(optional) number="5" - Maximum number of items to display =- leaving empty will show all items.
(optional) showarchive="1" - Show only expired news articles.
So you could create a new page call it something like archive, and call with the parameter, showarchive, then only news that is expired will show.
If you want news to show 20, you can call {news number="20"}, for the archive, without expired news, you can then say {news start="20"} then the 21th entry will be the first to show. In this case expired news wont show.
Ronny
see the help of News for the parameters you can pass.
(optional) number="5" - Maximum number of items to display =- leaving empty will show all items.
(optional) showarchive="1" - Show only expired news articles.
So you could create a new page call it something like archive, and call with the parameter, showarchive, then only news that is expired will show.
If you want news to show 20, you can call {news number="20"}, for the archive, without expired news, you can then say {news start="20"} then the 21th entry will be the first to show. In this case expired news wont show.
Ronny