BuddyDev

Search

buddypress-group-tab-link – can be open in a new window?

  • Participant
    Level: Master
    Posts: 152
    טליה שוורץ on #49849

    dont see such option in the doc
    am i missing it?

  • Keymaster
    (BuddyDev Team)
    Posts: 24271
    Brajesh Singh on #49851

    Hi,
    You can use the “Link” option to add the tab which will lead to the linked page.

    We do not have any option for opening it in new window. This is neither supported by the BuddyPress or BuddyBoss platform.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 152
    טליה שוורץ on #49854

    this is what i am saying. i am using the link option. but i want the link to open in a new window (“target” attribute) can this be achieved?

  • Keymaster
    (BuddyDev Team)
    Posts: 24271
    Brajesh Singh on #49883

    There is no way to do so with php currently(limitation of BuddyPress/BuddyBoss).
    You may use javascript to do that.
    Here is a sample code I posted earlier.
    https://buddydev.com/support/forums/topic/open-a-link-in-a-new-window-or-tab-with-bp-custom-group-tabs-plugin/#post-25397

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved