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


Thread tagged as: Question

Breadcrumbs help


I'm having an issue with breadcrumbs only outputting the current page and previous page rather than the whole path and I'm not sure if its down to me missing something in Runway, as its my first one.

Here is an example of how the pages are in the admin;


My breadcrumbs template (think its as default);

<ul class="breadcrumbs">
        <perch:if exists="perch_item_last">
            <perch:pages id="pageNavText" />
        <perch:else />
            <a href="<perch:pages id="pagePath" />"><perch:pages id="pageNavText" /></a> &gt;

Which is outputting facial > anti-wrinkle-treatment on the anti wrinkle treatment, rather than home > non-surgical > facial > anti-wrinkle-treatment


Perch Runway: 2.8.32, PHP: 5.4.42, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_blog (5.0)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', );
PERCH_PATH: /Users/waynehooper/Desktop/zenithcosmetics/root/perch
PERCH_CORE: /Users/waynehooper/Desktop/zenithcosmetics/root/perch/core
PERCH_RESFILEPATH: /Users/waynehooper/Desktop/zenithcosmetics/root/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: zenithcosmetics
DOCUMENT_ROOT: /Users/waynehooper/Desktop/zenithcosmetics/root
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Wayne Hooper

Wayne Hooper 6 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us the page function you're using?

Hi Drew

Just the default <?php perch_pages_breadcrumbs(); ?>

My error. non-surgical is hidden from nav (which I'd forgotten about), so adding 'include-hidden' => true is giving me the output I require.

Apart from that, finding Runway enjoyable to use !