Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity AJAX not loading new content


  • Marcella
    Participant

    @marcella1981

    WordPress v 4.2
    BuddyPress v 2.2.3.1

    Over written template files
    theme
    – buddypress
    — activity
    —— index-directory.php
    —— post-form.php
    —— entry.php

    index-driectory.php
    `<div class=”activity” role=”main”>
    <?php bp_get_template_part( ‘activity/activity-loop’ ); ?>
    </div><!– .activity –>’

    entry.php
    <li>All entry stuff</li>

    post-form.php – Not the problem.

    When I click “Load More”, all that happens is the buttons style is set to display none.

    Any ideas? Also, is it possible to use the old style of pagination. I remember posting here and someone said this was no longer supported on Activity Streams?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

  • Marcella
    Participant

    @marcella1981

    Bump*


    Marcella
    Participant

    @marcella1981

    Yeah, I checked. This no longer works at all

    <div id="pag-bottom" class="pagination buddypress">
            <div class="page-count" id="member-dir-count-bottom">
                <?php bp_activity_pagination_count(); ?>
            </div>
            <div class="page-links" id="member-dir-pag-bottom">
                <?php bp_activity_pagination_links(); ?>
            </div>
        </div><!-- END PAGINATION -->

    Why the dependency on AJAX? Any pointers to implement traditional pagination? I’m sorta stuck now.


    Marcella
    Participant

    @marcella1981

    Anyone…?


    Marcella
    Participant

    @marcella1981

    I figured it out WITHOUT looking at buddypress.js (go me).

    You need a container with an ID of BuddyPress for the data to be appended to. (heads to check buddypress.js)… Yes, yes it’s true.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Activity AJAX not loading new content’ is closed to new replies.
Skip to toolbar