Support » Plugin: Digg Digg » Print button

  • Resolved jynxy

    (@jynxy)


    Hi, if i enable the digg digg print button with Fancier Author Box enabled, it breaks the page and i see

    var dd_offset_from_content = 40; var dd_top_offset_from_content = 0;

    on the page.

    this is with the floating option enabled.

    anyway to fix this ?

    Thanks

    http://wordpress.org/extend/plugins/digg-digg/

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

    (@jynxy)

    ok this is the issue.

    <span id='dd_print_text'><a href="javascript:window:print()'>print</a></span>

    should be

    <span id='dd_print_text'><a href="javascript:window:print()">print</a></span>

    now need to find now to fix it.

    jynxy

    (@jynxy)

    ok in digg-digg.php find the following.

    function dd_get_print_service(){
    	$emailButton = "<div class='dd_button_extra_v'><div id='dd_print_button'><span id='dd_print_text'><a href='javascript:window:print()'>print</a></span></div></div><div style='clear:left'></div>";
    
    	return $emailButton;
    }

    replace with this

    function dd_get_print_service(){
    	$emailButton = "<div class='dd_button_extra_v'><div id='dd_print_button'><span id='dd_print_text'><a href=\"javascript:window:print()\">print</a></span></div></div><div style='clear:left'></div>";
    
    	return $emailButton;
    }
    Plugin Author Andrew Yates

    (@andy7629)

    Will get this updated in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Print button’ is closed to new replies.