Keyword

(SOLVED) k2 Tools Module - Archives

More
10 years 6 months ago - 10 years 6 months ago #126369 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.

More
10 years 6 months ago #126370 by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
No, there is no setting for this.

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

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

More
10 years 6 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.

More
10 years 6 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.

More
10 years 6 months ago #126373 by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
The filter works for a single category only.

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

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

More
10 years 6 months 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.

More
10 years 6 months 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:
$db->setQuery($query, 0, 12);
to:
$db->setQuery($query);

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

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

More
10 years 6 months 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.

More
10 years 6 months ago #126377 by Lefteris
Replied by Lefteris on topic Re: k2 Tools Module - Archives
You are welcome.

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