Hi,

When I select "New window" for "Open link in" the following happens:

When I click on an icon such as the Facebook or Twitter icon, a new window is opened that shows the service that has been selected.
However, the page that has my website page, in which the icon was clicked, ALSO goes to the service that has been selected.
I end up with two pages/windows that both show the service.

Comments

medrupalfan’s picture

Just to update:

I found that the AddToAny module does the same thing.

This lead me to believe it was my browser (Firefox).

So I tried it in IE8 and the same thing happened.

So I don't think it is the Service links module but if anyone has any suggestions that would be much appreciated.

TheCrow’s picture

maybe some extension or configuration which prevent the opening in new window?

medrupalfan’s picture

Thanks for your quick response.

I agree, it must be some configuration, but I have no idea where to look.......

I am very puzzled by this.

medrupalfan’s picture

To try and debug this, I added a target="_blank" attribute to an anchor link in my site and my browser behaved correctly: A new window opened with the linked page and my original window stayed the same, with the original page.

So I would say that my browser is responding correctly to a link that opens a new window .

I am not a programmer or expert in any way, but this leads me to believe it is something in the module?

Any further help would be much appreciated.....

TheCrow’s picture

could you post the url?

medrupalfan’s picture

Thank you for your time and attention.

To try and resolve this, I disabled and uninstalled the Service Links module.

Then I found the AddToAny module still had the same problem.

Then I tried to re-install the Service Links module, and could not get it to work properly.

So I have decided to restore my site to an earlier version, install the Service Links module and go from there.

This will take a few days and then I will be happy to provide the URL.

osopolar’s picture

I had the same problem while updating a large amount of modules. I found that the problem is google analytics. If you use GA you should use a more resent version than 6.x-3.2 - at the moment only dev will do it, or maybe an older version. More information see #1057914: Custom outbound link tracking with outdated link targets or javascript is broken #21 and #22.

If it is not GA try this:

1. Disable js in your browser (the behavior should disappear, otherwise may be a browser problem); Enable js and find the javascript which breaks your links.
2. Copy the all js from your current page into your template replacing print $scripts;
3. Now find the script by removing some

-Tags (try the bubble search algorithm) 4. Report your findings here and in the module containing the bug
medrupalfan’s picture

Status: Closed (works as designed) » Active

Dear ositoblanco!

Thank you very very much for your help!

I did disable Google Analytics and the problem went away!

Much appreciated!

Thanks also to TheCrow for his time and attention to the issue.

Note:
Google Analytics 6.x-3.2 can be disabled, or, as a work around for this version, config Google Analytics 6.x-3.2 to not track outbound links.

medrupalfan’s picture

Status: Active » Fixed
medrupalfan’s picture

Status: Fixed » Closed (works as designed)

Status: Active » Closed (works as designed)