Forums

This topic is locked

PD Editor > a linking question

Posted 03 Apr 2002 10:19:21
1
has voted
03 Apr 2002 10:19:21 retailteam bv posted:
how can I let url's inserted with the PD Editor automaticly pop up in a blank window in stead of the same window?

I was suprised no one has ever asked it here, searched 4 it, but couln't find anything like that ...

Replies

Replied 03 Apr 2002 17:09:45
03 Apr 2002 17:09:45 Jeremy Conn replied:
You can select 'View HTML' in the PD Editor and add the target="blank" code.


(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com

Edited by - connman21 on 01 Jul 2004 06:14:05
Replied 04 Apr 2002 07:45:41
04 Apr 2002 07:45:41 retailteam bv replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Other than that, you can select 'View HTML' in the PD Editor and add the target="blank" code.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

thnx a lot, but adding the target in each link is not an option. The purpose is to make a CMS for a client witch can be updated by John Doe en Co, so I don't link the idea they can fool around in html, cause I know who can fix it when it goes wrong
Replied 04 Apr 2002 08:24:42
04 Apr 2002 08:24:42 Viktor Farcic replied:
When displaying results from PD Editor...
Find: &lt;%=(TableName.Fields.Item("FieldName".Value)%&gt;
and replace it with: &lt;%=Replace((TableName.Fields.Item("FieldName".Value), "&lt;a ", "&lt;a target=_blank "%&gt;


Viktor Farcic

TalkZone Manager

Edited by - vfarcic on 04 Apr 2002 08:25:07
Replied 30 Jun 2004 16:16:02
30 Jun 2004 16:16:02 K. W. replied:
Decided to revive this old thread, even though the PD Editor is pretty much ancient by now...

I'm having problems getting it to link to "_blank". I tried both suggestions here, neither worked for me.

Any other suggestions? Is there any other similar (free) editor that would solve the problem?

Thanks!
Replied 30 Jun 2004 16:17:50
30 Jun 2004 16:17:50 K. W. replied:
*Forgot: I'm using Dreamweaver MX and ASP VBScript.
Replied 01 Jul 2004 06:13:05
01 Jul 2004 06:13:05 Jeremy Conn replied:
This isn't directly fixing the PD Editor issue, but one simple way to have all your client's CMS links to open in new windows is to add this tag into the head of the webpage that their content shows up in:

&lt;head&gt;
&lt;title&gt;Document Name&lt;/title&gt;
<b>&lt;base target="_blank"&gt;</b>
&lt;/head&gt;

It is a very simple approach, but effective in many situations.

<b>Connman21</b>
www.conncreativemedia.com
<b>DEVELOPMENT SETUP</b>
DWMX 2004 Studio
Web Server: IIS5
DB: Access2003/SQL2000
OS: XP Pro
Language: ASP/VB
Replied 01 Jul 2004 09:40:56
01 Jul 2004 09:40:56 K. W. replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
&lt;head&gt;
&lt;title&gt;Document Name&lt;/title&gt;
<b>&lt;base target="_blank"&gt;</b>
&lt;/head&gt;
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Well, this is a sort of "cheap" workaround, because all navigation (and any other links the page has) for example opens in blank windows also...

edit: Now I got it - I'll just have to change the other links (eg. navigation) in the template to "_parent". That did it!

Edited by - kariset on 01 Jul 2004 13:19:55

Reply to this topic