I have a client using the News module for newspaper journal column archives. Current startdate pulldown menu offers only back to 2000, she is trying to add archived columns prior to 2000.
I've scratched my head looking through the admin.php files, the lang files, template files.. haven't found it in any of the obvious places. In the html code of the "add articles" page I can see the html show up for all the "option" pulldown menu - seems like if I could just add more years there it would fix it, but I can't find the file that feeds that! (tears hair out)
I usually know how to modify my CMSMS files myself, but this one stumped me.
What file contains the startdate dropdown options? And will there be display issues in the news displays if files are older than 10 years old? Is there something in the php programming that days "display all news articles in last ___ days"? or will it display 20-year old articles no problem once we edit the startdate dropdown to include older ones?
Thanks in advance!!
News startdate, how to make it go older than 10 years? [solved]
-
- Forum Members
- Posts: 13
- Joined: Wed Oct 15, 2008 9:16 pm
News startdate, how to make it go older than 10 years? [solved]
Last edited by cdndesigns on Thu Aug 26, 2010 2:07 am, edited 1 time in total.
Re: News startdate, how to make it go older than 10 years?
Hello cdndesigns,
You can change this in the news admin template:
/module/News/templates/editarticle.tpl
For example Line 33 :
Also read this article how to change this template without the possibility to overwrite it again when upgrading.
http://calguy1000.com/Blogs/6/60/custom ... lates.html
grtz. Rolf
You can change this in the news admin template:
/module/News/templates/editarticle.tpl
For example Line 33 :
Code: Select all
<p class="pageinput">{html_select_date prefix=$postdateprefix time=$postdate start_year="-10" end_year="+15"} {html_select_time prefix=$postdateprefix time=$postdate}</p>
Also read this article how to change this template without the possibility to overwrite it again when upgrading.
http://calguy1000.com/Blogs/6/60/custom ... lates.html
grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Forum Members
- Posts: 13
- Joined: Wed Oct 15, 2008 9:16 pm
Re: News startdate, how to make it go older than 10 years?
Marvelous, thank you Rolf!! There it was.. hiding (not in plain sight!) lol.....
Got er fixed up.
Got er fixed up.
