• Resolved Riversatile

    (@riversatile)


    Hi,

    When I add the Facebook icon sharer, I have 1 error that is causing multiple errors on pages.

    I noticed that a quotation in the ONCLICK event is misplaced / not valid.

    See the quotation before “sharer”
    Here is the code :

    <li class="shr-facebook">
    <a href="https://www.facebook.com/share.php?v=4&src=bm&u=https://www.riversatile.fr/2010/07/11/iniesta-sauve-la-mise/&t=Iniesta+sauve+la+mise"  rel="nofollow" class="external" title="Partagez-le sur Facebook" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','www.facebook.com']);window.open(this.href,"sharer','toolbar=0,status=0,width=626,height=436'); return false;">&nbsp;</a>
    </li>
Viewing 2 replies - 1 through 2 (of 2 total)
  • I was getting the same error.

    In line 143 of html-helpers.php (in the includes folder) I removed the \” in front of window.open and now it works. So the line is now like this

    $onclick = " onclick=window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;\"";

    Thread Starter Riversatile

    (@riversatile)

    Not really resolved… I’ve just removed the Facebook sharer icon and left the others.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SexyBookmarks (an invalid / misplaced quotation in sharer function)’ is closed to new replies.