Page 1 of 1
Still on News module
Posted: Thu Oct 06, 2005 8:59 am
by saltydog
I have still some problem with the News module 2.0
The localization is not working. In the news template I have added: Posted: {$entry->postdate|date_format:"%d-%b-%Y"} but the month is not displayed in italian, still in english.
More, I have set up a News page, in which all the news titles are showed, but I can't get the news sorted by descending date, as they are in the summary box.
Re: Still on News module
Posted: Thu Oct 06, 2005 9:49 am
by Ted
You have it_IT setup as your locale in the config.php file?
How did you setup the page with all of the news titles?
Re: Still on News module
Posted: Thu Oct 06, 2005 9:55 am
by saltydog
Ok, thanks. The locale setting in config.php was still en_EN. Now it works!!
Why that setting was not fixed during setup?
Re: Still on News module
Posted: Thu Oct 06, 2005 10:01 am
by Ted
Unfortunately, locale is not a consistent thing. People hosting Italian sites on UK servers. People hosting English sites on Italian servers. Not to mention that Windows and Unix handle it totally differently...
It's better (at least it seems) to have a consistent setting and have people change it when necessary. Maybe it's not the best approach...
Re: Still on News module
Posted: Thu Oct 06, 2005 1:10 pm
by saltydog
saltydog wrote:
More, I have set up a News page, in which all the news titles are showed, but I can't get the news sorted by descending date, as they are in the summary box.
I have fixed the localization problem, but I still have the sorting problem in the news page... All news are in inverted order. How can I put them in the same date order I have in the summary box?
Re: Still on News module
Posted: Thu Oct 06, 2005 4:44 pm
by saltydog
Now that I have changed the site from my local server, to the production server, the bug on no-localization of the date came up again!!
I have it_IT in config.php, but it still shows the date in english format..
(the server is not in Italy)