article_end default date?
article_end default date?
Where is the article_end auto date number ?? Well allways when I add the article the default end date is 2010 where should I look for changing it to another date for article default end ??
Re: article_end default date?
The best solution is to update your old version to the latest version.
(I think you will find the end date in older installations in include/inc_lib/article.editcontent.inc.php).
Change:
to
Knut
(I think you will find the end date in older installations in include/inc_lib/article.editcontent.inc.php).
Change:
Code: Select all
$article["article_end"] = "2010-12-31 23:59:59";
Code: Select all
$article["article_end"] = date("Y-m-d H:i:s", time() + (3600*24*365*10) );
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: article_end default date?
Changed it but still getting the 2010 why ??
Re: article_end default date?
Please edit/change in this two files:
- include/inc_lib/article.editcontent.inc.phpto
- include/inc_tmpl/article.new.tmpl.php
to
I have no version available for a test.
Knut
- include/inc_lib/article.editcontent.inc.php
Code: Select all
$article["article_end"] = "2010-12-31 23:59:59";
Code: Select all
$article["article_end"] = date("Y-m-d H:i:s", time() + (3600*24*365*10) );
Code: Select all
$article_end = "2010-12-31 23:59:59";
Code: Select all
$article_end = date("Y-m-d H:i:s", time() + (3600*24*365*10) );
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )