Hi,
how can I change format of date in News Module. That format is given via cms_date_format ?
I would like that months will be numbers not words with only 3 firts letters or that months will be whole word written
Now it is: http://folbluty.org/folblutyCMS/index.p ... ktualnosci
I give in config.php
$config['cms_date_format'] = '%e %m %Y';
$config['date'] = '%e %m %Y';
but it isn't working
Thanks in advance
News Module - Date format
Re: News Module - Date format
You can change the default date format throughout the CMS by going to
Site Admin -> Settings - Global Settings and then updating the Date format string field under the General Settings tab.
If you want to just change the date format in News then you can update your template to use the smarty date_format modifier
Site Admin -> Settings - Global Settings and then updating the Date format string field under the General Settings tab.
If you want to just change the date format in News then you can update your template to use the smarty date_format modifier
Code: Select all
{$entry->postdate|date_format:"%e %m %Y"}
Re: News Module - Date format
Thanks a lot scooper
it's working perfectly
it's working perfectly