TYPOlight Open Source CMS > TYPOlight forum

Switch to german forum

Index > Announcements > Standardization of the breadcrumb module in version 2.6.2

leo
Administrator
Avatar
Posts: 6831
München, Germany
In version 2.6.2, the breadcrumb menu will be standardized in that the template variable $item['title'] always contains the page title and $item['link'] the page name. If the page title is empty, $item['title'] also contains the page name. This change includes a modification of the mod_breadcrumb.tpl template:

iconphp:
<?php if ($item['isActive']): ?>
<span class="active"><?php echo $item['link']; ?></span>
<?php else: ?>

is changed to

iconphp:
<?php if ($item['isActive']): ?>
<span class="active"><?php echo $item['title']; ?></span>
<?php else: ?>

Thus, the active element always shows the page title, which also worked with $item['link'] up to now, but will not anymore after the update. Therefore, it is necessary to adjust your custom templates (if any).
19/10/2008 16:09