Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Links, target = ?

Quote Reply
Links, target = ?
I have installed Links2.0 with the yahoo template on my website which is a three parts frames page. I have set the default target to "same" (which is main) on all the template pages, and modifed link targets where needed. However... I now need to set the target for the statically generated directory links so that they will open into a new window. Can I do this somewhere in the templates.cfg or do I have to make a change somewhere in one of the cgi files?

Also need to change the targets as in the following example from the templates.cfg file, (from yahoo style).

$news1 = 'Iraq Threatens Retaliation';
$news_url1 = 'http://dailynews..........

Is there a line of code I can add here that will set the target?

So inclusion I need to change the target for the links generater in the directory, and the target for the link in the above example.

http://www.christianrecovery.org

Thanks, a beginner.


Peace and blessings to you!
Quote Reply
Re: Links, target = ? In reply to
Look for <a href="<%news_url1%>"> in the template files...add the target attribute in these codes. (Pretty straightforward.)

Regards,

Eliot Lee
Quote Reply
Re: Links, target = ? In reply to
Thanks, it took me a few tries to get it right but I finally did figure it out.

<a href="<%news_url1%>" target="_top">

Since I have very minimal experience editing html....

I let my Frontpage do all the writing, usually.

Thanks, it worked.

Peace and blessings to you!
Quote Reply
Re: Links, target = ? In reply to
Front Page...yuck!!!

I would recommend using Dreamweaver Ultradev if you don't want to learn HTML (although you should if you ever want to become a competent web designer). Front Page screws up codes and also tends to insert IE friendly codes and you may find your pages incompatible between browsers. In addition, it puts tons of extraneous and useless codes in pages, which just uses up disk space. Dreamweaver Ultradev does an excellent job with preserving codes.

Yet knowing HTML will allow you to quickly de-bug problems caused by using WYSIWYG editors.

Regards,

Eliot Lee
Quote Reply
Re: Links, target = ? In reply to
Another bad thing about FP is that it changes permissions on the server so when you try to upload using FTP you get permission denied errors.

The best editor I have found is EditPlus

Paul Wilson.
new - http://www.wiredon.net