Gossamer Forum
Quote Reply
Global Help
For the this global
Code:
sub {
no strict;
my ($rec) = @_;
my $short;
my $comma;
my $cs;
my $desc = $rec->{'Description'};
my $id = $rec->{'ID'};
if (length $desc < 175) {
$short = $desc;
}
else {
$short = substr ($desc, 0, 165); $short =~ s/\s\S+?$//;
$cs = chop($short);
until ($comma eq " ") {
$comma = chop($short);
}
$short .= "...&nbsp;&nbsp;(<a href=\"<%detailed_url%>\">more</A>)";
}
return $short;
}

Instead of
<a href=\"<%detailed_url%>\">

I want to use these for the links

$link->{'detailed_url'} = "$CFG->{build_detail_url}/$link->{'ID'}$CFG->{build_extension}";
$link->{'title_linked'} = Links::Build::build('title_linked', $link->{'Full_Name'});

I do not know how to do this. Any ideas would be appriciated.
Subject Author Views Date
Thread Global Help jgkiefer 3104 Jun 29, 2005, 9:02 PM
Thread Re: [jgkiefer] Global Help
Andy 3025 Jun 30, 2005, 12:52 AM
Thread Re: [Andy] Global Help
jgkiefer 3012 Jun 30, 2005, 3:02 AM
Thread Re: [jgkiefer] Global Help
pugdog 3005 Jun 30, 2005, 9:50 AM
Thread Re: [pugdog] Global Help
jgkiefer 3036 Jun 30, 2005, 1:13 PM
Post Re: [jgkiefer] Global Help
jgkiefer 2983 Jul 1, 2005, 7:01 AM