- Posts: 15
COMMUNITY FORUM
(SOLVED) k2 Tools Module - Archives
- Ian
-
Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago - 11 years 1 month ago #126369
by Ian
(SOLVED) k2 Tools Module - Archives was created by Ian
The tools module is limiting the number of months to display. Currently, it only goes back to the last 12. Is there a setting i am missing to show more then 1 years worth of archives?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 2 months ago #126370
by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
No, there is no setting for this.
Please Log in or Create an account to join the conversation.
- Ian
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 2 months ago #126371
by Ian
Replied by Ian on topic Re: k2 Tools Module - Archives
Are there any ideas of what may limit the list?
Please Log in or Create an account to join the conversation.
- Ian
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 2 months ago #126372
by Ian
Replied by Ian on topic Re: k2 Tools Module - Archives
This is apparently due to how categories are set up. I have the archive mod category filter set to none, but it is only pulling from 1 cat. When i place all the categories under 1 cat, and choose the top level cat, it does not show the sub-cat items. Any ideas on how to show the sub level items?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126373
by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
The filter works for a single category only.
Please Log in or Create an account to join the conversation.
- Ian
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 1 month ago #126374
by Ian
Replied by Ian on topic Re: k2 Tools Module - Archives
Is there a way to show ALL the archive months as opposed to just the past 12?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126375
by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
Yes. Create your own module based on the mod_k2_tools code base. Then edit the file helper.php and update line 192 from:to:
$db->setQuery($query, 0, 12);
$db->setQuery($query);
Please Log in or Create an account to join the conversation.
- Ian
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
11 years 1 month ago #126376
by Ian
Replied by Ian on topic Re: k2 Tools Module - Archives
Perfect, thank you!
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126377
by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
You are welcome.
Please Log in or Create an account to join the conversation.