Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Simple question - I think!

Quote Reply
Simple question - I think!
If I want to change the look of categories from this
Actors and Actresses : Actresses : Geena Davis
to this
Actors and Actresses > Actresses > Geena Davis

Which file and part of code is responsible for defining the category seperators?

Thanks guys
Quote Reply
Re: Simple question - I think! In reply to
Find this is db_utils.pl:

Code:
sub build_clean {
# --------------------------------------------------------
# Formats a category name for displaying.
#
my ($input) = shift;
$input =~ s/_/ /g; # Change '_' to spaces.
$input =~ s,/, : ,g; # Change '/' to ' : '.
return $input;
}

I bolded the part that needs changing. I hope this helps.
Quote Reply
Re: Simple question - I think! In reply to
Thanks Bobs
I'll try it later. How about solving the problem in my other posting?

Cheers.
Quote Reply
Re: Simple question - I think! In reply to
Ok so I worked it out for myself!

You suggestion worked for the non-linking categories but to make the linking categories change you need to edit the following code in search.cgi

Find sub build_linked_title {

and change this line
$output .= qq|<A HREF="$build_root_url$path/">$dir</A>:|;

to

$output .= qq|<A HREF="$build_root_url$path/">$dir</A>>|;

Hope this helps anyone else



[This message has been edited by jazzyG (edited July 20, 1999).]