I have successfully created a custom News template with no problems:
Code: Select all
{foreach from=$items item=entry}
<div class="sideBarText">{$entry->title}</div>
{/foreach}
Code: Select all
{if $itemcount > 0}
{foreach from=$items item=entry}
<div class="sideBarText">{$entry->title}</div>
{/foreach}
{/if}
Code: Select all
{$itemcount}
Any ideas as to why the $itemcount variable is not returning anything? Also, where can I find more information about variables such as $item, $entry, etc.,
thanks!
Wes