Page 1 of 1
A couple things I'd like to change in news module
Posted: Sun Sep 10, 2006 4:37 pm
by haapati
How could I change the date order in
edit article and
add article pages?
I want to the date order is day, month, year.
And how could I translate month names in other language?
Maybe I would want to put some text in between those forms, how it happens?

Re: A couple things I'd like to change in news module
Posted: Mon Sep 11, 2006 4:33 am
by Dr.CSS
If you want the rendered date to be diff. you can use the (optional) dateformat="%b %d, %Y" - Format to display the article's post date with. This is based on the strftime function and can be used in your template with $entry->formatpostdate. It defaults to %x, which is the default date format for the sever's locale.
As far as lang. try (optional) lang="en_US" - or whatever your lang. is, Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
Re: A couple things I'd like to change in news module
Posted: Mon Sep 11, 2006 1:02 pm
by haapati
No effect in
edit article or
add article pages.
I want to change these forms order which are on that picture.
The picture was taken in the page (news module) where you can create a new news or edit an old news.

Re: A couple things I'd like to change in news module
Posted: Mon Sep 11, 2006 1:14 pm
by Dr.CSS
That will require editing the PHP files.
Re: A couple things I'd like to change in news module
Posted: Mon Sep 11, 2006 1:22 pm
by haapati
I know. What files and rows should I edit?
I was try to find the correct lines in the news modules PHP files but I couldn't find them.
