Twiebie |
|
---|---|
After updating from 0.6.17 to 0.6.18 i'm experiencing a problem with dates in pages. When I now try to add a page (news) it ends up all the way as the last page in the news category and I can't set any date newer than 1999. Thanks. |
|
This post was edited by Twiebie (2011-08-17 14:10, 13 years ago) |
foxhound |
|
---|---|
This means you have not updated your page.edit.tpl accordingly. Compare your page.edit.tpl with the one from the included default skin. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
The page.edit.tpl file from 0.6.17 is exactly the same as the one in 0.6.18. |
foxhound |
|
---|---|
In 0.6.13 I think it was updated with a changed field. Just compare the default one with yours. I had the exact same issue till I remembered to change/update that tpl when I updated my test site (which is on hold cause i think there is an exploit with 0.6.18 of which I informed the devs but so far none has replied yet. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
Indeed, in 0.6.14 this was added: <td> {PAGEEDIT_FORM_DATE} <p>{PAGEEDIT_FORM_DATENOW} {PHP.skinlang.pageedit.Now}</p> </td> Tnx! |
Kingsley |
|
---|---|
indeed, then it updates to the current date, but.. press edit again, and check the startdate, goes from 1902 to 1999, and then it stops.. |
Twiebie |
|
---|---|
#30491 Kingsley: Yep, same here... |
Xerora |
|
---|---|
Open system/core/page/page.edit.inc.php and change line 250: $pag['page_date'] = sed_selectbox_date($pag['page_date'] + $usr['timezone'] * 3600, 'long', 2030, 2000); to: $pag['page_date'] = sed_selectbox_date($pag['page_date'] + $usr['timezone'] * 3600, 'long', '', 2030, 2000); Or download this file: https://raw.github.com/Cotonti/Cotonti/genoa/system/core/page/page.edit.inc.php and replace your old file with this one |
|
This post was edited by Xerora (2011-08-17 23:01, 13 years ago) |