Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • westcoastradio Friend
    #186552

    Hi Guys

    Is there a way to limit infinite scroll in Argo to X amount of articles? Maybe with a “load more” option.

    Thanks in advance.

    Regards

    Nick

    zomidaily Friend
    #489278

    Hi guys,

    Instead of auto loading endlessly, I thing it would be great idea to add “Load more” option at the bottom.

    <em>@westcoastradio 367928 wrote:</em><blockquote>Hi Guys

    Is there a way to limit infinite scroll in Argo to X amount of articles? Maybe with a “load more” option.

    Thanks in advance.

    Regards

    Nick</blockquote>

    Wall Crasher Developer
    #489325

    Hi,

    The number of articles load each page will be equal to the number of item you config in menu item.

    For Joomla content:
    # Leading Articles
    # Intro Articles
    # Columns

    For K2 Content:
    – Leading count
    – Columns for leading

    -Primary count
    -Columns for primary

    -Secondary count
    -Columns for secondary

    It is work like pagination function.

    For the Load More option. You can take reference in JA Lens.

    $('<div id="item-more" class="item item-more"><div class="inner item-inner clearfix"><h3>Click To Load More Awesomeness...</h3></div></div>').appendTo (document.body);

    $(window).unbind('.infscr');

    $('#item-more').click(function(){
    infinitescroll.infinitescroll('retrieve');
    });

    Please put this code just beneth of infinitescroll.infinitescroll({ …. }); in templatesja_argojsscript.js

    Hope it gives some helps.

    Regards

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 3 voices, and was last updated by  Wall Crasher 11 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum