Gossamer Forum
Home : Products : Links 2.0 : Customization :

Category Style

Quote Reply
Category Style
How do I change
Main-Cat : Sub-Cat : Sub-Cat

to...

Main-Cat > Sub-Cat > Sub-Cat

Thankyou,
From Paul Wilson.
Quote Reply
Re: Category Style In reply to
In nph-build.cgi I made the following change------
------------------------------------------------------------------------
sub build_linked_title {
# --------------------------------------------------------
# Returns a string of the current category broken up
# by section, with each part linked to the respective section.

my $input = shift;
my (@dirs, $dir, $output, $path, $last);

@dirs = split (/\//, $input);
$last = &build_clean(pop @dirs);

$output = qq| <A CLASS="link_nav" HREF="$build_root_url/">Art Galleries</A> <IMG SRC="http://www.marineart.com/Sicons/arrow.gif" ALT="" WIDTH="7" HEIGHT="11" BORDER="0">|;
foreach $dir (@dirs) {
$path .= "/$dir";
$dir = &build_clean ($dir);
$output .= qq| <A CLASS="link_nav" HREF="$build_root_url$path/">$dir</A> <IMG SRC="http://www.marineart.com/Sicons/arrow.gif" ALT="" WIDTH="7" HEIGHT="11" BORDER="0">|;
}
$output .= " $last";

return $output;
}

note the places where the IMG was added
see it at http://www.marineart.com in the art gallery section