aw schriftzug.png aw logo 60x60.png

RenderCategoryBreadcrumbs
Renders a list of parent categories for breadcrumbs navigation

2019-05-02 - 10:19 | Version 3 |

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=" &#187"}%\"
    }$percnt%SEP{default=" &#187"}%" 
  format="$breadcrumb" 
  separator="%SEP{default=" &#187"}%"
  null="$percntBREADCRUMBS{
    \"%BASEWEB%.%BASETOPIC%\"
    separator=\"%SEP{default=" &#187"}%\"
    }$percnt"
}%%STOPINCLUDE%

Test

Calls to 'RenderCategoryBreadcrumbs'

Copyright

© 2006-2015 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.
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH