[solved] sCGBlog : number of articles and of links
Posted: Tue Nov 15, 2011 5:40 pm
Hello,
I'm using the CGBlog module and I would like to have the 2 last articles on my blog page and a list of the links for the 10 last articles in my sidebar.
If I call the module with
I have only 2 links in my sidebar
How can I modify the list to get my 10 articles
Thanks in advance for your help
I'm using the CGBlog module and I would like to have the 2 last articles on my blog page and a list of the links for the 10 last articles in my sidebar.
If I call the module with
Code: Select all
{CGBlog number='2'}

How can I modify the list to get my 10 articles

Code: Select all
<ul>
{foreach from=$items item=entry}
<li>
<a href="{$entry->detail_url}" title="{$entry->title|escape:htmlall}">{$entry->postdate|date_format:"%B %Y"}</a>
</li>
{/foreach}
</ul>