Hi
I have the following in templates/BreadcrumbsTemplate.ss
<div class="full-width no-padding" id="breadcrumbs">
<div class="container">
<div class="row row-centered">
<div class="col-sm-12">
<% if Pages %>
<% if $URLSegment != home %>
<a id='homeBreadcrumb' href="/"><img src="$themeDir/images/breadcrumb-home.png"></a>
<% loop Pages %>
<% if Last %>
<img src="$themeDir/images/breadcrumb-seperator-last.png"><span class="breadcrumb-last">$Title.XML</span>
<% else %>
<img src="$themeDir/images/breadcrumb-seperator.png"> <a href="$Link">$MenuTitle.XML</a>
<% end_if %>
<% end_loop %>
<% end_if %>
<% end_if %>
</div>
</div>
</div>
</div>
Which works fine for all my standard pages. I have created another page class called videoPage, that all works well and is located under a normal page called resources.
When I view the resources pages I get the expected home >> resources breadcrumb. But when I go to the /resources/videos page. I get a home >> videos page and not the expected home >> resources >> videos
Anyone got any ideas? Google is being tight lipped.
Thanks.