Your Time:
Our Time:
← Back to discussions

Force Facebook Plugins to reload after Ajax page load

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 2 replies, 3 voices, and was last updated 10 years, 8 months ago by Anonymous.

  • 2015-12-13 at 6:34 am
    Support Expired
    #11571
    vipchristian
    Participant
    • Topics: 11
    • Replies: 13
    • Total posts: 24
    • Post count: 16

    Hi guys!
    I think this topic can help other friends.
    Where in the source code I can add the script to force the Facebook Plugins (Page, Comments, Like…) to be reloaded.
    Thank you!

    I think the code is this, right? FB.XFBML.parse();
    Reference: https://developers.facebook.com/docs/reference/javascript/FB.XFBML.parse

    2015-12-16 at 5:23 pm
    #11637
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    go to ajaxify.js file and after a comment in that file

    // Load Custom Script
    add your javascript

    2015-12-31 at 10:26 am
    #11824
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is set to be resolved. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.