This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: 26-Aug-2017 10:51 Last Post By: christr
christr

Posts: 58
Registered: 26-May-2012
external link opens in same window
Posted: 19-Nov-2015 14:45
 
  Click to reply to this thread Reply
I like to instruct Photoblogger to open an external link in the '_self' window. Is that possible?
Best regards Chris
Laza

Posts: 9,471
Registered: 6-Sep-2005
Re: external link opens in same window
Posted: 20-Nov-2015 15:06   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
Where is this "external link" on the page? How did you add that?
christr

Posts: 58
Registered: 26-May-2012
Re: external link opens in same window
Posted: 20-Nov-2015 17:39   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
In the external link-box.
See http://www.imagixs.net/fb/
(fb is standing for PhotoBlogger, of course)

At the moment I am busy to implement facebook. Not that easy, but it is coming. Just mede an facebook-page. And the app id. And I had to fill in the facts for this kind of page. And I am wondering about the differendes. But I am learning. No questions about this, so far.
Chris
Laza

Posts: 9,471
Registered: 6-Sep-2005
Re: external link opens in same window
Posted: 23-Nov-2015 10:57   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
I see, just remove target=\"_blank\" from sidebar.inc Use Ctrl-Shift-E to bring up the built-in editor, and remove the target from lines 11 and 13.
christr

Posts: 58
Registered: 26-May-2012
Re: external link opens in same window
Posted: 23-Nov-2015 14:34   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
SOLVED!
I did not know excactly what to remove in

out.println("<a href=\"" + s.substring(i + 1) + "\" target=\"_blank\">" + s.substring(0, i) + "</a>");

so I changed "_blank" in "_self".
Success! Thanks.
christr

Posts: 58
Registered: 26-May-2012
Re: external link opens in same window
Posted: 26-Aug-2017 10:51   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
and a new one:
After changing sidebar.inc the result for the extra link is:

<a href="/info/neem%20een%20foto.html" target="_blank">© Chris Tref-fers  Deze site gebruikt cookies voor de goede wer-king.  Alle foto's op deze site zijn te koop KLIK HIER</a>

the problem is 'target =_blank' of course.
Is there a solution?

Have a fine day!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums