Welcome to Geeklog, Anonymous Monday, December 05 2022 @ 05:18 am EST

Geeklog Forums

link


Status: offline

Scorpion

Forum User
Chatty
Registered: 04/25/04
Posts: 39
when i push a url in geeklog it opens with _self like in the same window. how can i enable it to open in a new window?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Try this
 Quote

Status: offline

Scorpion

Forum User
Chatty
Registered: 04/25/04
Posts: 39
On line 4310 enter target="_blank" after <a


If i edit that in lib common will links in whats new open in new window?

Can you show me how to make links open in new windows in stories? I didnt understand where to put teh code in the tag..
-Thx
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
Text Formatted Code
<a href="http://www.somewhere.com/" target="_blank">link text</a>
 
 Quote

Status: offline

Scorpion

Forum User
Chatty
Registered: 04/25/04
Posts: 39
link text

dont work
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
It doesn't work here because Geeklog is stripping out the target attribute. Try it on a clean HTML page of your choosing. To use it in geeklog, you have to add 'target' to the allowable attributes of 'a' your config.php file.
 Quote

Status: offline

Scorpion

Forum User
Chatty
Registered: 04/25/04
Posts: 39
loL i dont know how to do that
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
FAQ


Basically, find where the 'a' tag allows the 'href' attribute and add the 'target' attribute to that list.
 Quote

Status: offline

Scorpion

Forum User
Chatty
Registered: 04/25/04
Posts: 39
Thanks i will look at that stuff later.
 Quote

All times are EST. The time is now 05:18 am.

  • 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