Developers

Breadcrumbs

There are a couple of standard methods to help you easily create breadcrumbs

Breadcrumbs

HTML breadcrumb (Quick and easy)

Viewpart configuration

$see->addViewPart('breadcrumb');
$see->configureViewPart( 'breadcrumb', 'controller', 'SeeCMSHelper' );
$see->configureViewPart( 'breadcrumb', 'controllerMethod', 'breadcrumbHTML' );

Sample viewpart

<?php echo $data;

Raw data (Customisable)

Viewpart configuration

$see->addViewPart('breadcrumb');
$see->configureViewPart( 'breadcrumb', 'controller', 'SeeCMSHelper' );
$see->configureViewPart( 'breadcrumb', 'controllerMethod', 'breadcrumb' );

Sample viewpart

<?php /* Receives an array of page IDs */

/* Loop through each page, load the page object and output some custom HTML. Although we wouldn't recommend loading page data here, it should really be in your own controller. */

foreach( $data AS $pageID ) {
$page = SeeDB::load( 'page', $pageID );
  echo "<p>{$page->title}</p>";
}