Page 1 of 1

date before 2000 in news module

Posted: Tue Feb 14, 2006 4:39 pm
by mox
Hi,
I have need to make to appear in the News module, a date previous 2000.
I use teh News module with categories to popolate a portfolio with different date from 1990 to 2006 (and over). I would want the real date of the publication, but the module is limited to 2000
???
How can I do?

thanks
mox

Re: date before 2000 in news module

Posted: Tue Feb 14, 2006 5:08 pm
by alby
mox wrote: I have need to make to appear in the News module, a date previous 2000.
I use teh News module with categories to popolate a portfolio with different date from 1990 to 2006 (and over). I would want the real date of the publication, but the module is limited to 2000
For a quick-fix edit in db:
cms_module_news.news_date with format: YYYY-MM-DD HH:MM:SS

Alby

Re: date before 2000 in news module

Posted: Tue Feb 14, 2006 5:54 pm
by mox
thanks, :)
even if I think that my customer does not want to use phpmyadmin in order to set up the dates of the news!!!  ;D

for now it's ok

Re: date before 2000 in news module

Posted: Tue Feb 14, 2006 9:54 pm
by Ted
Open up modules/News/templates/editarticle.tpl.  In there you'll find two lines like:

Code: Select all

{html_select_date prefix=$postdateprefix time=$postdate start_year=2000 end_year=2010} 
Change the 2000 to 1990 and you should be set!

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:07 am
by mox
thanks a lot
(yes  'CMS Know-it-all' is not only a signature...)

it's solved
mox

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:12 am
by LeisureLarry
@wishy:

Shouldn´t this be changed for the core? I think dates before 2000 should be supported as a standard.

Greats Larry

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:36 am
by Ted
Really?  I just figured that it would make the dropdown really long for not really much of a benefit.

I mean, I can change it easily enough, so I'm not opposed.  Just showing my reasoning.

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:47 am
by mox
the ideal would be the choice

maybe a set of decades...
???

for me it's just ok
;)

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:14 pm
by LeisureLarry
As we have options for the news module, why not add an option for this. I think 1995 to 2010 should be default and in the options, you should have the possibility to enter the range on your own in two input text fields (length 4).

Greats Larry

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:37 pm
by Ted
I can't go along with that.  I'm trying to write 80/20 software.  Meaning that we try to only put in features and options that 80% of people would use.  80% of people aren't going to change the date of News before 2000.  And if they really need to, it's easily changed.

When you start doing stuff like that, your list of options becomes a mile long and no one knows what any of those things do.

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 12:40 pm
by LeisureLarry
Ok at the moment perhaps not, but in case the news archive is integrated I think there will be above than 60% of the people doing that. Just my 2 cents.

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 2:12 pm
by LeisureLarry
Tips and tricks would be really nice ;D

Re: date before 2000 in news module

Posted: Wed Feb 15, 2006 10:15 pm
by mox
ciao patricia,
I had understood was only a way in order to make of the irony  ;D

Good idea Tip&Tricks
Patricia wrote: just my own opinion there....

Mox, "know-it-all" is not a signature, it's a rank in this forum (after 100 posts I think), actually it's true Wishy knows it all ;) but unfortunately, I also got this rank even it doesn't suit me, lol

cheers