Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 10:00 pm EST

Geeklog Forums

Links open in new window


Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
curious
This is probably incredibly simple, but... Is there a way to have the links on the links page open up in a new window? I would like to keep my site active while allowing viewers to go to a link site.

Thanks in advance for your help (and patience)!

J. Brent
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
in layout/yourtheme/links/linkdetails.thtml, add target="_blank" to the link tag.

I'll leave it as an excercise to the reader to fix the What's New Block (hint: find the appropriate function in lib-common.php and add the same tag).

Post again if you need further help.
 Quote

Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
determined
Thanks Turias!!!

I'll take that as a challenge! I do appreciate your help.

Blessings!
inSPIREmin Cool
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

Status: offline

inspiremin

Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
excited
It may not seem like much to you PHP gods/godesses out there, but I did it!

I actually modified my lib-common.php to open up What's New links in a new window. I didn't even crash the system once. (That for me is a record!!!).

Thanks for your support!

Blessings!
inSPIREmin Big Grin
www.Scripturetoolkit.com www.inSPIREministries.com
 Quote

DJDevon3

Anonymous
awesome worked perfectly, might want to mention it's supposed to look like this:
a href="{link_url} target="_blank"
 Quote

Status: offline

Bananiel

Forum User
Newbie
Registered: 02/16/04
Posts: 9
Quote by DJDevon3: awesome worked perfectly, might want to mention it's supposed to look like this:
a href="{link_url} target="_blank"


i think it should look like this :
Text Formatted Code
<li>
  <strong><a href="{link_url}" target="_blank">{link_name}</a></strong> ({link_hits})<br>
  {link_description}
</li>
 

http://www.bananiel.nl/
 Quote

All times are EST. The time is now 10:00 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content