Quote:
Originally Posted by chiactivate
I'm using 4.44 now
|
Have you tried this?
Code:
{*
$Id: news.tpl,v 1.1 2010/05/21 08:31:51 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{if $active_modules.News_Management}
{insert name="gate" func="news_exist" assign="is_news_exist" lngcode=$shop_language}
{if $is_news_exist}
{insert name="gate" func="news_subscription_allowed" assign="is_subscription_allowed" lngcode=$shop_language}
<div class="news-box">
<div class="news">
<h2>{$lng.lbl_news}</h2>
{if $news_message eq ""}
{$lng.txt_no_news_available}
{else}
{* Added loop from news_archive.tpl *}
{foreach from=$news_messages item=m name=news}
<div{interline name=news additional_class="news-item"}>
<div class="news-date">{$m.date|date_format:$config.Appearance.date_format}</div>
<div class="news-title">{$m.subject|amp}</div>
<div class="news-body">
{if $m.allow_html eq "N"}
{$m.body|escape|nl2br}
{else}
{$m.body|amp}
{/if}
</div>
</div>
{/foreach}
{* Added loop from news_archive.tpl END *}
{* <strong>{$news_message.date|date_format:$config.Appearance.date_format}</strong><br />
{$news_message.body} *}
<br /><br />
<a href="news.php" class="prev-news">{$lng.lbl_previous_news}</a>
{if $is_subscription_allowed}
<a href="news.php#subscribe" class="subscribe">{$lng.lbl_subscribe}</a>
{/if}
{/if}
</div>
</div>
{/if}
{/if}
I just added the loop from the "light and lucid 2 column" news_archive.tpl and commented out the original call for the one news message. I don't know if it will work or not but probably worth a try.