Ok, I am trying to do this with a global and so far have managed to get it done with the category links. I am using yahoo subcats.
remove_category_index
sub {
my $tags = GT::Template->tags;
my $url = $tags->{URL};
$url =~ s/index.html//;
return $url;
}
replace <%URL%> with <%remove_build_index%> in subcategory.html
and
remove_description_index
sub {
my $tags = GT::Template->tags;
my $description = $tags->{Description};
$description =~ s/index.html//g;
return $description;
}
replace <%Description%> with <%remove_description_index%>
Now I am having a bit of trouble with the breadcrumb, any ideas?
remove_category_index
sub {
my $tags = GT::Template->tags;
my $url = $tags->{URL};
$url =~ s/index.html//;
return $url;
}
replace <%URL%> with <%remove_build_index%> in subcategory.html
and
remove_description_index
sub {
my $tags = GT::Template->tags;
my $description = $tags->{Description};
$description =~ s/index.html//g;
return $description;
}
replace <%Description%> with <%remove_description_index%>
Now I am having a bit of trouble with the breadcrumb, any ideas?