WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: flshow Manager] flShow Manager: No popup window (4 posts)

  1. jprojustin
    Member
    Posted 5 years ago #

    Anyway to make it so this plugin doesn't open a separate window when a link is hit?

  2. sunburntkamel
    Member
    Posted 5 years ago #

    Should be possible, we'll look into providing that option.

  3. Davenport Enterprises
    Member
    Posted 5 years ago #

    We needed to do this too. Luckily, it's an easy fix :-) .

    In flshow.php, head down to line 731. You should see:

    $slide_show->appendChild( $photo );

    Before it, simply add:

    $photo->setAttribute('target', '_self');

    That section should then look like:

    if( !empty( $flShow_link ) ) {
         $photo->setAttribute( 'href', $flShow_link );
    }
    $photo->setAttribute('target', '_self');
    $slide_show->appendChild( $photo );

    Note that this is a quick fix and will cause *all* of your links to open in the same window.

    Best regards,
    Matt Duffin.

  4. Davenport Enterprises
    Member
    Posted 5 years ago #

    Sorry, forgot to mention that you'll need to do something to cause your XML file to be rebuilt once this change has been made for each carousel, e.g. change a setting, upload a new image, etc.

Topic Closed

This topic has been closed to new replies.

About this Topic