- Posts: 3
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Mod K2 Content shows current date and time for article
Mod K2 Content shows current date and time for article
- welon44
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month ago - 7 years 1 month ago #164578
by welon44
Mod K2 Content shows current date and time for article was created 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.
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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
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?)
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
7 years 1 month ago #164583
by welon44
Replied by welon44 on topic Mod K2 Content shows current date and time for article
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164596
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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?
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
7 years 1 month ago - 7 years 1 month ago #164600
by welon44
Replied by welon44 on topic Mod K2 Content shows current date and time for article
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.
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164628
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
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.
- Forum
- K2 Community Forum
- English K2 Community
- Mod K2 Content shows current date and time for article