sIFR links opening in new window rather than _self

hakkisak - January 25, 2007 - 00:55
Project:sIFR
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:sun
Status:closed
Description

Links inside flash automatically open in a new window or popup,
need to force them to open in the _self window as if it were a normal html link,

#1

sun - January 30, 2007 - 19:42
Status:active» postponed (maintainer needs more info)

I'm not able to reproduce this behaviour with the latest sifr module on a clean Drupal 5.0 installation (only sifr.module activated).

#2

sun - February 20, 2007 - 19:39
Status:postponed (maintainer needs more info)» fixed

Without further information I'm obliged to mark this fixed.

#3

Anonymous - March 6, 2007 - 19:45
Status:fixed» closed

#4

rauenzahner - April 29, 2007 - 05:22
Status:closed» active

Reopening this because it's a real bug.

I implemented sIFR to take over the links in my primary links - the first time you load the page it will open a new window - all subsequent navigation clicks in either window will direct the link to load in the opened window.

#5

sun - April 29, 2007 - 12:32

Please look into your HTML page output and ensure that the mentioned sIFR headings have a target set and it is wrong. If that is true, this is an sifr.module issue. If not, this is an sIFR issue and can't be solved here.

#6

sun - May 6, 2007 - 13:59
Status:active» postponed (maintainer needs more info)

#7

james_ag - August 24, 2007 - 21:36

It is an sIFR issue, unfortunately. If no target is specified sIFR opens it in a target named "undefined".

The way to fix this is to open up dont_customize_me.as in Flash and change the following in the launchURL function:

change:
getURL(launchURL_anchor,launchURL_target);

to:
if ( launchURL_target != undefined )
getURL(launchURL_anchor,launchURL_target);
else
getURL(launchURL_anchor);

This will fix the problem.

#8

sun - August 26, 2007 - 12:07
Assigned to:Anonymous» sun
Status:postponed (maintainer needs more info)» needs review

Since we are not able to alter sIFR's action script, we can only add some troubleshooting info to README.TXT. Attached patch adds this info.

I need at least one more reviewer confirming that this solves the bug before I'll commit it.

AttachmentSize
README.txt_8.patch 1.28 KB

#9

sun - September 4, 2007 - 03:31
Title:Sifr Links opening in new window rather than _self» sIFR links opening in new window rather than _self
Status:needs review» fixed

Committed to all branches and Dynamic Rendering module.

#10

Anonymous - September 18, 2007 - 03:33
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.