[Solved] Module news date format with MLE edition

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
synergie
Forum Members
Forum Members
Posts: 14
Joined: Fri Nov 14, 2008 1:57 pm

[Solved] Module news date format with MLE edition

Post by synergie »

I have a website in MLE 1.5.2, it rocks!

but in the news module I want to display the date in the local language :

in EN : "09 March 2009 "
in FR: "09 Mars 2009 "

I try that in "gabarit" :

{if $entry->postdate}

{$entry->postdate|cms_date_format:"%d%B%Y" lang="fr_FR"}

{/if}

Thant in page :
{news number="5" detailpage="news" lang="fr_FR"}


but it always display : "09 March 2009 " !!

I try to empty the cache... but how to put the date in other language? please!  ???
Last edited by Anonymous on Mon Mar 09, 2009 2:38 pm, edited 1 time in total.
alby

Re: Module news date format with MLE edition

Post by alby »

synergie wrote: but it always display : "09 March 2009 " !!
Check better for your server locale and sets in config_lang.php

Alby
synergie
Forum Members
Forum Members
Posts: 14
Joined: Fri Nov 14, 2008 1:57 pm

Re: Module news date format with MLE edition

Post by synergie »

alby wrote:
synergie wrote: but it always display : "09 March 2009 " !!
Check better for your server locale and sets in config_lang.php

Alby
No it is not the problem.

Config lang is perfect, it is working very well front and backend.

Juste this date problem!
alby

Re: Module news date format with MLE edition

Post by alby »

synergie wrote:
alby wrote:
synergie wrote: but it always display : "09 March 2009 " !!
Check better for your server locale and sets in config_lang.php

Alby
No it is not the problem.

Config lang is perfect, it is working very well front and backend.

Juste this date problem!
cms_date_format use strftime() php function and it's locale dependant

Alby
synergie
Forum Members
Forum Members
Posts: 14
Joined: Fri Nov 14, 2008 1:57 pm

Re: [Solved] Module news date format with MLE edition

Post by synergie »

thanks
Locked

Return to “[locked] CMSMS MLE fork”