WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
[Plugin: WordPress Download Monitor] Download in other windows (1 post)

  1. smartieskiller
    Member
    Posted 2 years ago #

    hello,i'm usiong this great piece of code but i need something to help my users.
    So it work perfectly but i need when user click on download ,it open a window for me to insert a disclaimer before it show the link

    i think it must be inside this file
    download-monitor-page-addon.php at 606 ligne on this

    if (!isset($download->meta['hide_download_button'])) $page .= '<p><a>id.'" format="{url}"]').'" class="download-button">'.$dbutton_text.'</a></p>';

    i try to insert like this

    if (!isset($download->meta['hide_download_button'])) $page .= '<p><a href="affichage_popup('popup.html','disclaimer');">'.$dbutton_text.'</a></p>';

    but it don't works
    Any help would be wonderfull

    http://wordpress.org/extend/plugins/download-monitor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by smartieskiller
  • This topic is not resolved
  • WordPress version: 3.2.1