date before 2000 in news module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

date before 2000 in news module

Post 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
alby

Re: date before 2000 in news module

Post 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
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: date before 2000 in news module

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

Re: date before 2000 in news module

Post 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!
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: date before 2000 in news module

Post by mox »

thanks a lot
(yes  'CMS Know-it-all' is not only a signature...)

it's solved
mox
LeisureLarry

Re: date before 2000 in news module

Post by LeisureLarry »

@wishy:

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

Greats Larry
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: date before 2000 in news module

Post 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.
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: date before 2000 in news module

Post by mox »

the ideal would be the choice

maybe a set of decades...
???

for me it's just ok
;)
LeisureLarry

Re: date before 2000 in news module

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

Re: date before 2000 in news module

Post 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.
LeisureLarry

Re: date before 2000 in news module

Post 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.
LeisureLarry

Re: date before 2000 in news module

Post by LeisureLarry »

Tips and tricks would be really nice ;D
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: date before 2000 in news module

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

Return to “Modules/Add-Ons”