- Posts: 132
COMMUNITY FORUM
Can't edit time/date in latest K2 and Joomla 3.7
- Thomas Thrane
- Topic Author
- Offline
- Premium Member
Less
More
7 years 6 months ago #161674
by Thomas Thrane
Can't edit time/date in latest K2 and Joomla 3.7 was created by Thomas Thrane
Hi
After updating to Joomla 3.7 I can't edit the time/date in Creation Date, Start Publishing and Finish Publishing.
They reset to what they were before the update.
Any ideas to resolve this?
After updating to Joomla 3.7 I can't edit the time/date in Creation Date, Start Publishing and Finish Publishing.
They reset to what they were before the update.
Any ideas to resolve this?
Please Log in or Create an account to join the conversation.
- Thomas Thrane
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
7 years 6 months ago #161675
by Thomas Thrane
Replied by Thomas Thrane on topic Can't edit time/date in latest K2 and Joomla 3.7
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #161678
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Can't edit time/date in latest K2 and Joomla 3.7
Yeap, the thread also includes a PR which you can try.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
7 years 6 months ago #161682
by Thomas Thrane
Replied by Thomas Thrane on topic Can't edit time/date in latest K2 and Joomla 3.7
Already did and it works - just to let you know :-)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #161686
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Can't edit time/date in latest K2 and Joomla 3.7
Thank you Thomas :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Panos
- Offline
- New Member
Less
More
- Posts: 5
7 years 6 months ago - 7 years 6 months ago #162002
by Panos
Replied by Panos on topic Can't edit time/date in latest K2 and Joomla 3.7
Hello,
After upgrading our Joomla site from 3.7.0 to 3.7.1 we have an issue only with K2, where if we go at the Publishing tab and change the date, the calendar doesn't show time and if we change time by hand and click another tab, when we go back at Publishing tab it shows the current time instead of the time we typed manually, or even when we press the Save button it reverts back
We searched the html.php file located at: /libraries/cms/html/ to see if the code is wrong, but the code is the one Fotis recommends:
In Joomla Content component the calendar works OK, it shows the date and time and it works as expected when we press the Save button, without reverting the time back to the current one.
Here's the screenshots:
K2:
Joomla Content Component:
So, any help?
After upgrading our Joomla site from 3.7.0 to 3.7.1 we have an issue only with K2, where if we go at the Publishing tab and change the date, the calendar doesn't show time and if we change time by hand and click another tab, when we go back at Publishing tab it shows the current time instead of the time we typed manually, or even when we press the Save button it reverts back
We searched the html.php file located at: /libraries/cms/html/ to see if the code is wrong, but the code is the one Fotis recommends:
$showTime = ($showTime) ? "1" : "0";
$todayBtn = ($todayBtn) ? "1" : "0";
$weekNumbers = ($weekNumbers) ? "1" : "0";
$fillTable = ($fillTable) ? "1" : "0";
$singleHeader = ($singleHeader) ? "1" : "0";
In Joomla Content component the calendar works OK, it shows the date and time and it works as expected when we press the Save button, without reverting the time back to the current one.
Here's the screenshots:
K2:
Joomla Content Component:
So, any help?
Last edit: 7 years 6 months ago by Panos.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #162005
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Can't edit time/date in latest K2 and Joomla 3.7
Can you try installing the DEV version github.com/getk2/k2 ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Panos
- Offline
- New Member
Less
More
- Posts: 5
7 years 6 months ago #162013
by Panos
Replied by Panos on topic Can't edit time/date in latest K2 and Joomla 3.7
Please Log in or Create an account to join the conversation.
- Panos
- Offline
- New Member
Less
More
- Posts: 5
7 years 6 months ago #162046
by Panos
Replied by Panos on topic Can't edit time/date in latest K2 and Joomla 3.7
I think I found the problem. It was Cloudflare that kept an old copy of the .js file, that's why the calendar would reset each time we clicked another element.
The weird thing is it didn't do it when we updated to 3.7.0. Oh well, lesson learned; after an update, if something is wrong, clean Cloudflare cache as well!
Thanks for all the help!
The weird thing is it didn't do it when we updated to 3.7.0. Oh well, lesson learned; after an update, if something is wrong, clean Cloudflare cache as well!
Thanks for all the help!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 6 months ago #162052
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Can't edit time/date in latest K2 and Joomla 3.7
Clear all caches :)
Nice to hear that the issue has been resolved Pano :)
Nice to hear that the issue has been resolved Pano :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.