View Single Post
  #8  
Old 12-03-2011, 05:10 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Showing more than 1 News story on the Home page

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} &nbsp;&nbsp; <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.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote