Greetings:
To fit in with the rest of my site, I need to change the following Links Global 'separator' value from > to display some HTML code, in particular something similar to <span> </span>.
I tried to just replace the > part with the <span> tags but get a compilation error. Does anyone have any ideas how I can achieve this?
Existing code is as follows:-
require Links::Utils;
require Links::Build;
my $tags = shift;
my $catid = $DB->table('CatLinks')->select('CategoryID', { LinkID => $tags->{ID} })->fetchrow;
my $full_name = $DB->table('Category')->select('Full_Name', { ID => $catid })->fetchrow;
return (Links::Utils::format_title(Links::Build::build_title($full_name), separator => " > ", link_type => 1, ));
}
Thanks,
Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
To fit in with the rest of my site, I need to change the following Links Global 'separator' value from > to display some HTML code, in particular something similar to <span> </span>.
I tried to just replace the > part with the <span> tags but get a compilation error. Does anyone have any ideas how I can achieve this?
Existing code is as follows:-
Code:
sub { require Links::Utils;
require Links::Build;
my $tags = shift;
my $catid = $DB->table('CatLinks')->select('CategoryID', { LinkID => $tags->{ID} })->fetchrow;
my $full_name = $DB->table('Category')->select('Full_Name', { ID => $catid })->fetchrow;
return (Links::Utils::format_title(Links::Build::build_title($full_name), separator => " > ", link_type => 1, ));
}
Thanks,
Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory