Expiration of Articles Posted by MKirchhof 16 Apr 2004 09:57 UTC We are using articles for the dpartment's news and would like to keep it up-to-date by the use of expiration dates. Surprisingly, expired articles are still shown. Any ideas?
Posted by Damian Parker 16 Apr 2004 16:53 UTC Hiya! In Articles->Admin Types there are options to enable/disable the expiration dates, Check those out, I think the answer could be there Damian
Posted by MKirchhof 20 Apr 2004 10:44 UTC Hi! Thank you very much! I just browsed wiki admin and the documentation, but haven't take the articles types into account. 😎 Michael
Posted by MKirchhof 14 Jul 2004 09:31 UTC We experience, that people don't properly set the expiration date. Since the default value is set to 1 year, most of the news are outdated. Is it possible to tweak the default setting for expiration?
Posted by Stephen Lee 14 Jul 2004 10:44 UTC Go into tiki-edit_article.php find the line below and change the number 365 to whatever length you would like it set to or instead you could put +1 after the $cur_time["mon"] to change to 1 month. The choice is yours, just remember when upgrading to change it in your upgrade 😊. Copy to clipboard$expireDate = mktime ($cur_time["hours"], $cur_time["minutes"], 0, $cur_time["mon"], $cur_time["mday"]+365, $cur_time["year"]);