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="%IF{"not isempty CAT" then="%CAT%" else="%BASETOPIC%"}%"
  header="$percntBREADCRUMBS{
      \"%BASEWEB%.%HOMETOPIC%\"
      recurse=\"topicoff\"
      separator=\"%SEP%\"
    }$percnt%SEP%" 
  format="$breadcrumb" 
  separator="%SEP%"
  null="$percntBREADCRUMBS{
    \"%BASEWEB%.%BASETOPIC%\"
    separator=\"%SEP%\"
    }$percnt"
}%%STOPINCLUDE%

Test

Calls to 'RenderCategoryBreadcrumbs'

Copyright

© 2006-2013 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.

ApplicationTopic edit

TopicType DocuTopic, TopicFunction
TopicTitle
Summary Renders a list of parent categories for breadcrumbs navigation
WikiApplication ClassificationApp
Topic revision: r1 - 07 Jan 2013, ProjectContributor
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

 

Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.