Hi,
i have problem News module (CMS1.0.7) date multilanguage...
1) Add article -->
Post Date: month day year time...
Status: Published
Start Date: month day year time...
End Date: month day year time...
my need:
Post Date: year month day time...
Status: Published
Start Date: year month day time...
End Date: year month day time...
where change?
2) how (or where) change month name and status in my language (lt_LT) ?
Problem News module date multilanguage
-
cyberman
Re: Problem News module date multilanguage
If you make a look in used template for that (/news/templates/editarticle.tpl) you will foundZigintas wrote: where change?
Code: Select all
{html_select_date prefix=$postdateprefix time=$postdate start_year=2000 end_year=2010}http://smarty.php.net/manual/en/languag ... t.date.php
Value of month name comes from your server. Please look there. Have you set frontend language in config.php? Maybe including of a setlocale command in include.php can help.2) how (or where) change month name and status in my language (lt_LT) ?
And status is currently not localized. You can do it by yourself in action.addarticle.php line 141 and 142
Code: Select all
$statusdropdown['Draft'] = 'draft';
$statusdropdown['Published'] = 'published';