Keyword

K2 Content Module - Time range not working as expected.

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago - 8 years 8 months ago #150654 by Tyler Ancell
Hi there,

I'm having a bit of trouble getting the K2 content module to work in the way I'm assuming it should work.

My current settings are as follows:
Source: Retrieve Items from Categories
Select Categories: I've selected the categories I want to pull items from
Fetch items from children: Yes
Item Count: 8
Item Ordering: Most popular
Time Range: 1 week

What I expect to happen, is that K2 displays the most popular (most viewed) items over the past week. Setting it to 1 week displays nothing, 2 weeks displays nothing, 1 month shows one item, 3 months shows eight items.

I have many items on my site that are viewed many times daily by many people, yet articles still do not display under the most popular setting.

Ideally I'd like to have this set to 1 or 2 days.

What can I do to fix this?
Last edit: 8 years 8 months ago by Tyler Ancell.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #150659 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Content Module - Time range not working as expected.
Hello,

Which version of Joomla! and K2 are you using?
Are you using overrides for that module?

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

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

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago - 8 years 8 months ago #150661 by Tyler Ancell
I'm using K2 2.6.9

I am using a module override, but I've have not changed any php, I've only changed the html to make use of bootstrap.


Edit: The K2 Content module that I used to make my override was from the 2.6.9 package as well.
Last edit: 8 years 8 months ago by Tyler Ancell.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #150663 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Content Module - Time range not working as expected.
Which caching method are you using? Are the hits being stored in the database?

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

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

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago - 8 years 8 months ago #150664 by Tyler Ancell
I've tried it with caching on and off, no change.

When caching is enabled, I use conservative caching, and I've disabled caching for the k2 content module.

Edit: Hits are being stored in the database, yes - sorry, forgot to add that.
Last edit: 8 years 8 months ago by Tyler Ancell.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #150669 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Content Module - Time range not working as expected.
Caching the module will produce any results other than showing changes more quickly.

Can you do a test for me please?

Can you disable the site's cache and navigate to some K2 items?

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

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

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago #150670 by Tyler Ancell
Cache disabled (and cleared) and CDN disabled.

Set the module to 1 day, and nothing shows after visiting 5 different articles, 5 times each. K2 is counting the hits in the database in the backend.

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

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago - 8 years 8 months ago #150674 by Tyler Ancell
I've left caching disabled since my last message and still no change in items displaying.
Last edit: 8 years 8 months ago by Tyler Ancell.

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

  • Tyler Ancell
  • Tyler Ancell's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 8 months ago #150682 by Tyler Ancell
Any other suggestions on how to fix this?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #150701 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Content Module - Time range not working as expected.
Can you send me a link to your site?

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