"redirect to:" with "_blank" opens 2 windows

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

"redirect to:" with "_blank" opens 2 windows

Post by rescamilla »

Hi all,

On one of my sites I have a latest news section. All I do is create an article in News category and the 10 latest articles are the listed on the font page of the site by using:

Code: Select all

{NEW:10:316}
I am trying to add news that, instead of linking to an article on our site, would link to an article on an external site. I know how to do this by inserting this into the "redirect to:" section of the article:

Code: Select all

http://www.wbez.org/Content.aspx?audioID=39903 _blank
The problem is: when the link is clicked not only does the intended artilce open in a new window (which is what I want to happen), but phpwcms also opens the article, but... there is no content in the article because of the redirect.

For an example, please visit http://www.gohammond.com/web/home.phtml and under latest news click "More Bridge Worries for Northwest Indiana".

Thanks,

-Ray
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: "redirect to:" with "_blank" opens 2 windows

Post by Oliver Georgi »

Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

Re: "redirect to:" with "_blank" opens 2 windows

Post by rescamilla »

Hi Oliver,

Thanks for the reply. I am sure your solution works, but I am running version 1.3.3 and the edits above don't match up with the code I see.

This is a large government site, so I am going to see if I can get approval to update to the latest version, then apply the edits.

-Ray
Post Reply