Ready to get started?Download WordPress


[Plugin: Sociable] Doesn't open in a _blank window (7 posts)

  1. sphereboy
    Posted 4 years ago #

    i like this plugin. seems to be the best. but at least on my config. Safari 4 OS X .. the target=_blank setting is not functioning.


  2. Walix
    Posted 4 years ago #

    Same here...

  3. PKtm
    Posted 4 years ago #

    Same here, using Safari 4. Works fine on Firefox 3.5.2.

  4. kortschot
    Posted 4 years ago #

    i thought it might had something to do with uppercases...

    i mean in:

    if (get_option("sociable_usetargetblank')) {
       $link .= target=\"_blank\"";

    but since it aint, that aint it.....

    anybody a sollution?

  5. kortschot
    Posted 4 years ago #

    i ment, _BLANk / _Blank or somekind, sorry

  6. Puppetman
    Posted 4 years ago #

    _blank breaks for me, too, in Safari 4.0.3. Firefox 3.5.3 is fine. I hate doing "me, toos" but maybe if enough of us do it, a fix will come along.

  7. drrobotnik
    Posted 4 years ago #

    find the line that says:
    $link .= " href=\"javascript:window.location='".urlencode($url)."';\" title=\"$description\">";

    and change it to:

    $link .= ' href="'.$url.'" title="'.$description.'">';

    I don't understand why they chose to use javascript in a standard href, but this should fix it.

    The only thing this doesn't fix is that in Safari if you have a comma in the title it will lose all the following text. Anyone have a solution for this?

Topic Closed

This topic has been closed to new replies.

About this Topic