Documentation
If no category breadcrumbs are available, standard ones are created based on BASETOPIC.
All information is extracted from BASEWEB.
Parameters
- CAT: name of category to render the breadcrumbs for, defaults to BASETOPIC
- SEP: string used as a separator in the breadcrumbs
Implementation
%STARTINCLUDE%%CATINFO{
web="%BASEWEB%"
cat="%CAT{default="%BASETOPIC%"}%"
header="$percntBREADCRUMBS{
\"%BASEWEB%.%HOMETOPIC%\"
recurse=\"topicoff\"
separator=\"%SEP{default=" »"}%\"
}$percnt%SEP{default=" »"}%"
format="$breadcrumb"
separator="%SEP{default=" »"}%"
null="$percntBREADCRUMBS{
\"%BASEWEB%.%BASETOPIC%\"
separator=\"%SEP{default=" »"}%\"
}$percnt"
}%%STOPINCLUDE%
Test
Calls to 'RenderCategoryBreadcrumbs'
Copyright
© 2006-2019 Michael Daum
http://michaeldaumconsulting.com
This file is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read the
LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.