It didn't work.
I created new template global called rewrite_breadcrumb ->
sub {
my $breadcrumb = $_[0];
my $home_url = "http://www.my-website.com/pages/";
my $new_url = "http://www.my-website.com/";
$breadcrumb =~ s/\Q"$home_url\"/"$new_url"/;
return \$breadcrumb;
}
then I replaced <%title_linked%> with <%rewrite_breadcrumb($title_linked)%> in the template ->
<table width="101%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle"><font face=Arial color="#000099"><b><strong class="title"> </strong></b></font> <font face=Arial><b><strong class="title"> <font color="#000099">
<%rewrite_breadcrumb($title_linked)%>
</font></strong></b></font>
<!-- Subcategories-->
<%if category%>
<font size="5"> </font> </td>
</tr>
</table>
After running "Build All" instead of a breadcrumb on the pages I get this -> REF(0x8a1b924)
Z
I created new template global called rewrite_breadcrumb ->
sub {
my $breadcrumb = $_[0];
my $home_url = "http://www.my-website.com/pages/";
my $new_url = "http://www.my-website.com/";
$breadcrumb =~ s/\Q"$home_url\"/"$new_url"/;
return \$breadcrumb;
}
then I replaced <%title_linked%> with <%rewrite_breadcrumb($title_linked)%> in the template ->
<table width="101%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle"><font face=Arial color="#000099"><b><strong class="title"> </strong></b></font> <font face=Arial><b><strong class="title"> <font color="#000099">
<%rewrite_breadcrumb($title_linked)%>
</font></strong></b></font>
<!-- Subcategories-->
<%if category%>
<font size="5"> </font> </td>
</tr>
</table>
After running "Build All" instead of a breadcrumb on the pages I get this -> REF(0x8a1b924)
Z