Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-17-2005, 06:48 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
hiperlink open in a new window

how I have to do to set every external hyperlink to open in a new window? for example in the comments pop up i'd like that every link to the commenters site should be open as new window. can someone help me?

gabriele
--------------------------
www.aboutpictures.com
--------------------------
Reply With Quote
  #2  
Old 02-17-2005, 08:06 AM
Zlato Offline
pp regular
 
Join Date: Feb 2005
Location: Paris - FRANCE
Posts: 43
Hi Gabriele it's pretty simple in fact you have to go in your index php at line 332 (or close to that) :


Code:
$comment_name = "<a href='$comment_url' title='$lang_visit_homepage'target='_blank'><strong>$comment_name</strong></a>";
	    	}
You see after
Code:
title='$lang_visit_homepage
There is
Code:
'target='_blank'
If you don't have this, copy and paste 'target='_blank' after title='$lang_visit_homepage' so it's look like i wrote here...

Hope this help you if not, i can maybe explain better..
__________________
A. Zlatogorov
Ecrivain de lumière
Reply With Quote
  #3  
Old 02-17-2005, 08:18 AM
Connie
Guest
 
Posts: n/a
There is also a very easy suggestion:

as explained in this forum before, you could add one line to the header of your templates:

Code:
<base target="_new">
so all links will start in a new window, you will find an explanation of this option in all HTML-tutorials :wink:
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:33 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs