Gossamer Forum
Home : Products : Links 2.0 : Customization :

Making "target=content" default

Quote Reply
Making "target=content" default
My site uses a frameset, in connection with an anti-leech, as well as the Links 2.0 scripts. Right now, the Links 2.0 works great...as does the anti-leech.

Problem comes in when building new pages from submitted/validated links.

By default, it builds all urls with 'target=_blank' which interferes with the anti-leech, since it opens in a new window,and therefore the anti-leech cannot read the headers correctly.

Right now, I must manually go back and edit each individual index.html page after "building" to modify all target values.

Question is, which file would I need to alter to change the default value of all targets from _blank to content? Secondly, what would the code be?

I am relatively new to CGI and perl, but am trying to learn...just apparently, not doing too good a job of it ;o)

Any help given would be greatly appreciated. Thanks in advance.
Quote Reply
Re: [ssshmoo] Making "target=content" default In reply to
Erm, the templates in the /admin/templates/ folder maybe Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] Making "target=content" default In reply to
WOOHOO Thank you so much...I just hope my ignorance wasn't showing TOO badly...lol

Thanks again. Perhaps next time I'll actually have something difficult, eh?