Here are the instructions on using this template with 1.3.7. The template still works fine without these updates, but 1.3.7 added the option where you can turn the breadcrumb links ON, OFF, or OFF on the home page only (so there's no "Home" link on the home page). I had set this template to AUTOMATICALLY turn off the breadcrumbs on the home page, these changes allow you to use the new functionality fully.
Open up includes/templates/simple_zen/common/tpl_main_page.php
1) ~ line 51, change this:
Code:
$body_id = str_replace('_', '', $_GET['main_page']);
to this:
Code:
$body_id = ($this_is_main_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
2) ~ line 94, change this:
Code:
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' && ($current_page!='index' || (int)$cPath>0 )) { ?> <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
to this:
Code:
<!-- bof breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_main_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->
3) is actually not a change from 1.3.6 to 1.3.7, but it seems I left a chunk of code out:
~ line 109, find:
Code:
<?php
/**
* prepares and displays center column
*
*/
require($body_code); ?>
Right above that, add this:
Code:
<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->
That's it~