Keyword

[SOLVED] Start/finish publishing dates aren't saved

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago #133560 by Thomas Thrane
Start/finish publishing dates aren't saved was created by Thomas Thrane
Hi
When I set Start publishing/Finish publishing dates, they aren't saved and the next time I edit the item, those fields are empty...

How can I fix this?

Regards
Thomas

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 10 months ago #133561 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Start/finish publishing dates aren't saved
Hello Thomas,

Which version of K2 and Joomla! are you using?
Have you read this post -> getk2.org/community/English-K2-Community/186296-SOLVED-K2-item-date-and-time-not-working-on-joomla-32#195576 ?

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
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago #133562 by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
Hi

I'm using J 3.3.3 and 2.6.8 of K2.
Yes I have already made the changes in the code.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 10 months ago #133563 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Start/finish publishing dates aren't saved
Are these dates visible in the administration itemlist layout (Not inside the item) ?

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
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago #133564 by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
In the itemlist I only see Created and Modified dates.
Not any start/finish dates - I don't recall ever have seen these dates?

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #133565 by Lefteris
Replied by Lefteris on topic Re: Start/finish publishing dates aren't saved
@Thomas Thrane

What's the PHP version of your server? If you have made the changes in the code, it should work.

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
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago #133566 by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
It's 5.4.33 - could this be the issue?

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #133567 by Lefteris
Replied by Lefteris on topic Re: Start/finish publishing dates aren't saved
No, your version is fine. I think that you should check again that you have applied the code correctly in the file administrator/components/com_k2/views/item/view.html.php . Alternatively you can try to install the development version from getk2.org/assets/get/ .

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
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago #133568 by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
Thanks, I'll have another look and get back to you :-)

Please Log in or Create an account to join the conversation.

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
9 years 10 months ago - 9 years 10 months ago #134748 by Thomas Thrane
Replied by Thomas Thrane on topic Start/finish publishing dates aren't saved
Hi

I checked and I already made the changes ind the files, but still the date doesn't show up when editing an item.

If I enter ad date/time and saves, I see in the DB it's saved correct, but then I need to edit an item and the date is gone and when I save again I see 0000-00-00 00:00:00 in the DB.

www.dropbox.com/s/rk1ylmirh9bnrd2/K2_01.jpg?dl=0
Last edit: 9 years 10 months ago by Thomas Thrane. Reason: Image link

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum