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

category_linked separator to HTML

Quote Reply
category_linked separator to HTML
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>&nbsp;</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
Subject Author Views Date
Thread category_linked separator to HTML Clint 4594 Jan 31, 2008, 12:13 AM
Thread Re: [Clint] category_linked separator to HTML
Andy 4492 Jan 31, 2008, 1:40 AM
Thread Re: [Andy] category_linked separator to HTML
Clint 4482 Jan 31, 2008, 2:25 AM
Thread Re: [Clint] category_linked separator to HTML
Andy 4490 Jan 31, 2008, 2:32 AM
Thread Re: [Andy] category_linked separator to HTML
Clint 4479 Jan 31, 2008, 3:17 AM
Post Re: [Clint] category_linked separator to HTML
Andy 4468 Jan 31, 2008, 3:18 AM