Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Remove underscore

Quote Reply
Remove underscore
In the bread crumb, the category names have underscores where there should be blank spaces.

I've tried using this global to replace the underscores:

sub { my $tmp = $_[0]; $tmp =~ s/ /_/sg; return $tmp; }

called with:

<%global_name($Title)%>

but doesn't seem to work.

Does anyone have another solution?

Thanks.
Quote Reply
Re: [joeybone] Remove underscore In reply to
$Name is probably what your looking for ($Title is for Links, not categories :))

Cheers

Andy (mod)
andy@ultranerds.co.uk
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!
Quote Reply
Re: [Andy] Remove underscore In reply to
Thanks Andy, yer, I'd already tried that. Nothing appears at all. mm, any other ideas?
Quote Reply
Re: [joeybone] Remove underscore In reply to
Email over GLinks admin details, and I'll take a quick look for you.Bit hard to diagnose just by what you've explained :)

Also, what template are you calling it in?

Cheers

Andy (mod)
andy@ultranerds.co.uk
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!

Last edited by:

Andy: Nov 30, 2010, 11:36 PM