Still on News module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Still on News module

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Still on News module

Post 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?
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Still on News module

Post 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?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Still on News module

Post 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...
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Still on News module

Post 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?
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Still on News module

Post 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)
Post Reply

Return to “Modules/Add-Ons”