Keyword

K2 tools archive display

  • strullinger
  • strullinger's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #86054 by strullinger
K2 tools archive display was created by strullinger
I am currently migrating a blog from typeblog to Joomla and Im using k2 for this. so far everything looks works great, but I am runing into a problem now. Client wants to display a full list of archived articels and all I can get the k2 tools mod to show is the last 12 months. This blog is 5 years old (and 585 posts) how can I get that tools mod to show all 5 years instead of just 12 months. link to what Im talking about here
look at the right sidebar. 

Thanks

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

  • strullinger
  • strullinger's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #86055 by strullinger
Replied by strullinger on topic K2 tools archive display
anyone? any ideas?

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

  • Cristian Prisacariu
  • Cristian Prisacariu's Avatar
  • Offline
  • New Member
More
14 years 2 weeks ago #86056 by Cristian Prisacariu
Replied by Cristian Prisacariu on topic K2 tools archive display
I found solution for you. Go to the comand line on the server in your joomla directory. cd modules/mod_k2_tools . Edit with nano or other the file helper.php # nano helper.php Find the line that says "$db->setQuery($query, 0, 12);" the third parameter means that it will look for the last 12 months. change this to a bin number 1000 to get all your months, or to the number of months that you like.

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

  • The White Alchemist S.L.
  • The White Alchemist S.L.'s Avatar
  • Offline
  • New Member
More
13 years 5 months ago #86057 by The White Alchemist S.L.
Replied by The White Alchemist S.L. on topic K2 tools archive display
Thanks! it worked for me!

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


Powered by Kunena Forum