Keyword

Month mismatch in archive month display

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 3 weeks ago #178571 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
When you say you can't verify this, do you mean it's working for you? Or that you can't verify that I'm using the Tools module?

If you go to threecatsmarketing.comn/blog then click on April 2021 in the side bar under "Archives" - what happens for you? I still see March in the page heading, not April. Are you seeing something different?

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

More
4 years 3 weeks ago #178572 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
Oh we both see the same thing. But something is off on your server in regards to the dates.

See this: www.threecatsmarketing.com/component/k2/date/2021/3 (no K2 items, yet the title is again set one month back)

In K2, this is the part that controls the title output: github.com/getk2/k2/blob/master/components/com_k2/views/itemlist/view.html.php#L410-L437

Is there any chance some part of your site's code is renaming the months or something? Some plugin? Or some weird language override? It is surely not the template because calling the same URLs with ?template=protostar at the end results in the same issue.

For reference, change the months here: demo.getk2.org/component/k2/itemlist/date/2012/3?template=protostar

You'll see that URLs and actual displayed months are in-sync.

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 1 week ago #178683 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
I believe I figured out what's going wrong. If I set the Joomla time zone (Global Configuration > Server tab > Webzone Time Zone) to my time zone (America/New_York) it shows as one month earlier. I did a spot check, and if I use a zone in the Americas group, it does the behavior I'm seeing. But if I use a timezone from Asia, Africa, or anyplace else, or the UTC time zone, it works properly.

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

More
4 years 1 week ago #178686 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
Do check your server's time/date as well.

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 1 week ago #178702 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
The system time zone is also set to America/New_York, and the time and date are correct.

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

More
4 years 1 week ago #178706 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
Genuinely weird.

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 1 week ago #178707 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Ain't it, though?

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

More
4 years 1 week ago #178708 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
I'm regretting I haven't added GIF support in this forum :D

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 1 week ago #178739 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Do you have any suggestions on what else to try?

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

More
4 years 5 days ago #178764 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
I honestly have no idea. Could be some other plugin messing up the timezone.

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 5 days ago #178773 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Hmmm...Since it's dong the same thing on two different websites (on the same server) - is it possible some server setting is causing this? The newest site is just a test bed for K2, and the only thing it has installed is in fact K2. If it could be something server-related, any idea what I could have my hosting provider check for?

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

More
4 years 5 days ago - 4 years 5 days ago #178780 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
It's surely server related. Ask them to double-check the timezone set for the server itself and if there is any customization for the timezone in PHP and/or MySQL/MariaDB.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 4 years 5 days ago by JoomlaWorks.

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
4 years 5 days ago #178786 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
And of course, just to make things more interesting... one of the sites I host uses WordPress, and check out what happens when you go to the Archive and select a particular month: www.wherefaithmeetslife.com/

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

More
4 years 5 days ago #178787 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
Each CMS is different. But I like how Joomla exposes what appears to be an issue on your server.

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago #178876 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
OK, I found the issue... at least, I removed some regular Joomla plugins and it's working now. Not sure which plugin was the culprit, but I didn't think anything I had could have messed up K2...

Now, all I need to know is where I can update the CSS so I can adjust some of the look and feel...

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

More
3 years 11 months ago #178880 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
This means that some plugin was enforcing a different time zone which messed up editing entirely (and the dates records in the database were stored).

As for styling K2, use this guide for reference: getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates

K2's default CSS can easily be overwritten or entirely switched off (in K2's settings). By making use of sub-template overrides and category parameter inheritance, you'll soon discover the true power of K2 :)

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago #178891 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
I think I'm missing something. IN my understanding, I needed to add a file - /templates/YOURTEMPLATE/css/k2.css to my system, which I did, with the following lines:
div.k2Pagination ul li a { color: #10316b; } div.k2CategoriesListBlock ul li, div.k2ArchivesBlock ul li { margin-bottom: 0px; } div.itemAuthorBlock { background: inherit; border: inherit; } div.itemNavigation { background: inherit; } div.itemToolbar { background: inherit; } div.itemListCategory { background: inherit; border: none; } div.itemListCategory img { display: none; }

However, it's not having any effect. I've cleared my cache, so I know that's not it.

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

More
3 years 11 months ago #178907 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
It's loaded alright: jmp.sh/QEF0d3i

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

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago #178910 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Got it all figured out - thank you SOOOOO much for all your help. I know I've been a pain, but this was really important to me!

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

More
3 years 11 months ago #178951 by JoomlaWorks
Replied by JoomlaWorks on topic Month mismatch in archive month display
The result matters :)

Fotis / 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