Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [renken] Making a link active

Quote Reply
Re: [renken] Making a link active In reply to

You could use a global =)

New global named: make_links_active

Call in template with;


..and put the following code in the global;

sub {

my $desc = $_[0];
$desc =~ s|\Qhttp://\E(.*?)\s+|<a href="http://$1">http://$1</a> |sig;
return $desc;


Untested, but should hopefully work :)


Andy (mod)
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!
Subject Author Views Date
Thread Making a link active renken 2222 Apr 8, 2005, 7:03 AM
Thread Re: [renken] Making a link active
Andy 2151 Apr 8, 2005, 9:21 AM
Post Re: [Andy] Making a link active
renken 2133 Apr 8, 2005, 9:33 AM