I have a site template displaying an article of the CGBlog and the list of the articles in a sidebar :
Code: Select all
<div id="sidebar">
{CGBlog summarytemplate='list'}
</div>
<div id="main">
{content}
</div>
Code: Select all
{foreach from=$items item=entry}
<ul>
<li><a href="{$entry->detail_url}">{$entry->title}</a></li>
</ul>
{/foreach}
Code: Select all
{if $current_id eq $entry->id}

Thanks in advance for your help