Light-weight, fast, simple and powerful!
Translations of this page?:


“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.

functions/breadcrumbs.txt · Last modified: 2011-09-12 00:46 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Copyright 2010 / design by yello studio / Wolf CMS Inside