Translations of this page?:
General
Getting Support
Administration
Design
Wolf Reference
Plugin Development
Core Development
- Design documents
- Working guidelines
- References
Press, Graphics and Translations
Wolf CMS books section
breadcrumbs()
“breadcrumbs” can be created in Wolf by adding this code to a Layout:
<?php echo $this->breadcrumbs(); ?>
By default, it produces output of this kind:
Home > Music > Baroque > Bach
In order to change the value of the separator, include it as a parameter. If for example, you wish to use a forward slash:
<?php echo $this->breadcrumbs('/'); ?>
Any character may be used this way.
Note: if you wish to use a backslash, it must be given twice, since it is a PHP escape character: $this->breadcrumbs('\\').
For more information on the titles of the breadcrumb links themselves, see the breadcrumb function entry.
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
