I have been an user of CMS Made Simple for 4 years. It's a great CMS and it helped me a lot.
Until last December, module News worked fine and no problem.
However when I tried to post a new article two days ago, it didn't appear at all, although
the "you-have-succeeded" message appeared on the admin page.
Are there anyone who has a solution of this problem?
I happened to find out "starting day" and "closing day" pull-down menu were limitied to "2010"
on the "add new article" page. No 2011.
Is this related with this problem? I do appariciate your help in advance.
no appearance of News article from 2011
Re: no appearance of News article from 2011
You should upgrade as such problems will come again and again.
The solution for your problem is file modules/News/templates/editarticle.tpl
The solution for your problem is file modules/News/templates/editarticle.tpl
Re: no appearance of News article from 2011
Thank you very much for your advice.
I have already checked out "Defolt form template" and rewrote the following line on it to 2020 and uploaded, but nothing has changed.
------------------------------------------------------------------------------------------------------------------------------------------
<div class="pageoverflow">
<p class="pagetext">{$enddatetext}:</p>
<p class="pageinput">{html_select_date prefix=$enddateprefix time=$enddate start_year=2000 end_year=2020} {html_select_time prefix=$enddateprefix time=$enddate}</p>
</div>
----------------------------------------------------------------------------------------------------------------------------------------------
Also I copied a new version' file of "News" to the old one, but the pull-down menu of posted year has not changed too.
I might make some errow to do this.
Woudl you advice me again?
I have already checked out "Defolt form template" and rewrote the following line on it to 2020 and uploaded, but nothing has changed.
------------------------------------------------------------------------------------------------------------------------------------------
<div class="pageoverflow">
<p class="pagetext">{$enddatetext}:</p>
<p class="pageinput">{html_select_date prefix=$enddateprefix time=$enddate start_year=2000 end_year=2020} {html_select_time prefix=$enddateprefix time=$enddate}</p>
</div>
----------------------------------------------------------------------------------------------------------------------------------------------
Also I copied a new version' file of "News" to the old one, but the pull-down menu of posted year has not changed too.
I might make some errow to do this.
Woudl you advice me again?
Re: no appearance of News article from 2011
Mori, try to use difference relative to current year, see an example:moritokyo wrote:Thank you very much for your advice.
I have already checked out "Defolt form template" and rewrote the following line on it to 2020 and uploaded, but nothing has changed.
------------------------------------------------------------------------------------------------------------------------------------------
<div class="pageoverflow">
<p class="pagetext">{$enddatetext}:</p>
<p class="pageinput">{html_select_date prefix=$enddateprefix time=$enddate start_year=2000 end_year=2020} {html_select_time prefix=$enddateprefix time=$enddate}</p>
</div>
----------------------------------------------------------------------------------------------------------------------------------------------
Woudl you advice me again?
Code: Select all
<p class="pageinput">{html_select_date prefix=$enddateprefix time=$enddate start_year="-10" end_year="+15"} {html_select_time prefix=$enddateprefix time=$enddate}</p>
Re: no appearance of News article from 2011
Dear Sonya san,
Thank you very very much for your help. I modified the lines of editarticle.tpl file as you suggested, that is to change it to "-10" and "+15".
After uploaded the file, pull-down menu indicated the year 2011 and posting a new article succeeded.
Finally resolved my problem.
Thank you again for your kind help.
Mori
Thank you very very much for your help. I modified the lines of editarticle.tpl file as you suggested, that is to change it to "-10" and "+15".
After uploaded the file, pull-down menu indicated the year 2011 and posting a new article succeeded.
Finally resolved my problem.
Thank you again for your kind help.
Mori
-
- Forum Members
- Posts: 98
- Joined: Tue Jun 06, 2006 10:08 pm
- Location: USA
Re: no appearance of News article from 2011
Thank you Sonya . . . what an easy fix. To summarize the fix, just open modules/news/templates/editarticle.tpl and change whereever it says end_year=2010 to a later date.
Yes, we should all upgrade but I've got a few clients who are with an old version and this is a great stop gap measure until they're ready to pay me for my time to do the upgrade
Thanks again!
Yes, we should all upgrade but I've got a few clients who are with an old version and this is a great stop gap measure until they're ready to pay me for my time to do the upgrade

Thanks again!
Re: no appearance of News article from 2011
thanks a lot for your solution! I already was going to go crazy with upgrading from 1.2 to 1.9 
