Read more articles button for mini K2

Hi,

Can you please provide code to add read more articles button in mini K2?

For example, let it load 20 articles and when someone presses read more articles, it shows the next 20 and so on.

Something similar to load more on this extension.

demo.quirkyfoxlabs.com/extn/#joo_pinboardlite4k2

If not, how about scroll reveal?

For a site with large number of articles, it is not feasible to use it.

Thanks
9 years 6 months ago #1 by vlad

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

  • Posted by TemplatePlazza (5310) Offline
Hi, unfortunately it's not that easy to add ajax / infinite scroll implementation to the module. It will require a quite alot code changes and probably will be better to be done in the component / plugin level. Sorry about that.
9 years 6 months ago #2 by TemplatePlazza

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

How about adding pagination ( page 1, page 2 etc. )?
9 years 6 months ago #3 by vlad

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

  • Posted by TemplatePlazza (5310) Offline
Yes, that the one I said about adding ajax. It's better to do that from template override side as module capability is somewhat limited
9 years 6 months ago #4 by TemplatePlazza

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

Hi,

Can you give a hint or point in the right direction on how to do it from template override? I am using latest version of Joomla 3.4.

api.joomla.org/cms-3/classes/JPagination.html

Can we have a module class to do this for any module?

stackoverflow.com/questions/12725306/pag...tom-module-in-joomla

Thanks
9 years 6 months ago #5 by vlad

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

  • Posted by TemplatePlazza (5310) Offline
9 years 6 months ago #6 by TemplatePlazza

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

Powered by Kunena Forum