We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Only displaying breadcrumbs one level deep.
I'm having trouble displaying breadcrumbs more than one level deep. I have a page 'Video Gallery' which is a sub page of Media Gallery in the admin but no matter how i adjust the levels, it only displays Home > Media Gallery.
This is the current PHP I'm trying if that helps...
<?php perch_pages_breadcrumbs(array( 'template'=>'breadcrumbs_custom.html', 'levels' => 3 )); ?>
And this is my template...
<perch:before> <ul class="breadcrumbs inline"> <li><a href="/">Home</a></li> </perch:before> <li> <perch:if exists="perch_item_last"> <perch:pages id="pageNavText" /> <perch:else /> <a href="<perch:pages id="pagePath" />"><perch:pages id="pageNavText" /></a> > </perch:if> </li> <perch:after> </ul> </perch:after>
I've also tried not specifying levels and setting levels to 0 but still no love. :(
Want to reply to this thread?Login with Perch