Keyword

Mod K2 Content shows current date and time for article

  • welon44
  • welon44's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago - 7 years 1 month ago #164578 by welon44
Hi, there is some strange problem on my Joomla and K2.

For some items mod_k2_content shows current date and time (for ex. now is 9.10.2017 15:06 and this time is shown in module), instead create date saved in database (9.10.2017 12:53).

When I go into the article page everything is ok.

Joomla 3.8.1
K2 2.8.0

Thanks for your answers.
Last edit: 7 years 1 month ago by welon44.

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

More
7 years 1 month ago #164580 by william white
Replied by william white on topic Mod K2 Content shows current date and time for article
Does this happen with some items displayed in the module or to all of them.
If some, is there any difference in the way the items were created (ie: were the ones created, created after an upgrade of k2 or j?)

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

  • welon44
  • welon44's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago #164583 by welon44
It happens only for some articles in module. I upgraded Joomla last week for the newest version. It was also in the previous version of k2. Articles are added by to people. I have no idea where is problem.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164596 by Krikor Boghossian
Replied by Krikor Boghossian on topic Mod K2 Content shows current date and time for article
Hello there,
Are you using any overrides for that module and / or if you deactivate caching is the issue resolved?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • welon44
  • welon44's Avatar Topic Author
  • Offline
  • New Member
More
7 years 1 month ago - 7 years 1 month ago #164600 by welon44
Yes, I have overrides for that module.

Disabling cache plugin and cache in global configuration not resolved the problem.

EDIT: if I use default template date is correct, but I have to have 3 different templates.

EDIT: I wrote my own module for k2 items and it seems it's fine with date. But mod_k2_content has problems, when it's template is overriden. Thak you for your responses. Closing.
Last edit: 7 years 1 month ago by welon44.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164628 by Krikor Boghossian
Replied by Krikor Boghossian on topic Mod K2 Content shows current date and time for article
This means that this is a template issue.
You need to edit that override a bit. Make sure you use the same tags for the date as the default template.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum