Skip to:
Content
Pages
Categories
Search
Top
Bottom

Favorite without loading page


  • manishn
    Participant

    @manishn

    Can anyone help me in this:

    I am looking something like, once user click on favorite button it will update on real time. Right now when user click on this button its re-loading whole page.

    Looking for helping hands..

    Thanks

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

  • danbp
    Participant

    @danbp

    That’s how it works with JS. No idea if you can modify easely this behave between BP/theme and client side… personnally, i can’t help you with that.

    And the codex is not very verbose about favorites.

    If interest to study code, see here.


    manishn
    Participant

    @manishn

    Thanks for your reply on this.

    OK if this is not easy then can you please let me know how I can add ‘rel’ attribute in favorite button link?

    like: <a href=".." rel='activity_id'>
    same as in ‘Reshared’ button.

    Thanks


    manishn
    Participant

    @manishn

    OK I found this myself bp_activity_id();

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar