Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Dec 2014
    Posts
    2

    Infinity Scroller

    Hi I have just purchased Ultra.
    I'm using Joomla and joomlaart - Ja wall template.
    The difficulty I am facing is that the buttons load on the first set of articles loaded but will not show on all subsequent infinity scroll loads. This is the link to the demo template - http://www.joomlart.com/demo/#ja_wall
    Can you please advise on what needs to be done.


  2. #2
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320

  3. #3
    Junior Member
    Join Date
    Dec 2014
    Posts
    2
    Hi thanks for the quick reply. I am assuming the following 2 things.

    1: The suggested code is inserted in the template index.php file?

    if (typeof(LikeBtn) != "undefined") {
    LikeBtn.init();
    }

    2: The button code is all inserted in the template index.php

    <!-- LikeBtn.com BEGIN -->
    <span class="likebtn-wrapper" data-theme="github" data-white_label="true"></span>
    <script type="text/javascript" src="//w.likebtn.com/js/w/widget.js" async="async"></script>
    <!-- LikeBtn.com END -->

    And should be combined as follows:

    <!-- LikeBtn.com BEGIN -->
    if (typeof(LikeBtn) != "undefined") {
    LikeBtn.init();
    }
    <span class="likebtn-wrapper" data-theme="github" data-white_label="true"></span>
    <script type="text/javascript" src="//w.likebtn.com/js/w/widget.js" async="async"></script>
    <!-- LikeBtn.com END -->

    If I have understood it correctly it still will not load the buttons on the next page load.


  4. #4
    Admin LikeBtn's Avatar
    Join Date
    Sep 2011
    Posts
    320
    Yes. You have to execute LikeBtn.init() after the next page is being loaded.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •