View Single Post
  #1  
Old 03-27-2010, 12:52 AM
  Dan.roh's Avatar 
Dan.roh Dan.roh is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 397
 

Default news_archive.tpl - DATE FORMAT

Hi guys,

Can anyone please be so kind to let me know how I can change the date format that displays on my newsletter on storefront.

Currently the date format looks like this 27-03-2010

I would like for it to display like this Mar-2010


My guess is to edit news_archive.tpl

Mine looks like this:

{* $Id: news_archive.tpl,v 1.5.2.1 2007/11/29 11:35:34 ferz Exp $ *}
{if $news_messages eq ""}
{$lng.txt_no_news_available}
{else}
{section name=idx loop=$news_messages}
{capture name=dialog}
<b>{$news_messages[idx].subject}</b>
<br /><br />
{if $news_messages[idx].allow_html eq "N"}
{$news_messages[idx].body|replace:"\n":"<br />"}
{else}
{$news_messages[idx].body}
{/if}
{/capture}
{include file="dialog.tpl" title=$news_messages[idx].date|date_format:$config.Appearance.date_format content=$smarty.capture.dialog extra='width="100%"'}
<br />
{/section}
{/if}



Any help would be greatly appreciated
Thanks
__________________
Regards

Dan


Xcart version:
4.1.10 GOLD
Reply With Quote