WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Documents
[resolved] Uploaded File Link to new Windwow (target="_blank") (2 posts)

  1. aaronkin
    Member
    Posted 8 months ago #

    The Activity Feed shows that I uploaded a File:
    NPRN-sb uploaded the file: Happy Cat to AFXgroup 21 seconds ago

    How can i have the link to the Uploaded File 'Happy Cat' open in a new window?

    I added target="_blank" to Line 11 in file include/activity.php but that did not work.

    Line 11: 'get_url() . '">' . esc_attr($document->name) . '

    http://wordpress.org/plugins/bp-group-documents/

  2. lenasterg
    Member
    Plugin Author

    Posted 7 months ago #

    @aaronkin, hi.
    Thanks for using the plugin.
    I believe it should work for documents you add after the change. This is besauce the complete "NPRN-sb uploaded the file: Happy Cat to AFXgroup " (including the link tag ) is already stored into the database table.

    Bests Lena

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.