RenderAllCategories
Renders an overview of all known categories

02 May 2019 - 20:19 | Version 1 |

Documentation

Renders an index of all known categories, top categories first.

Parameters
  • NONE

Implementationde

%STARTINCLUDE%<!-- -->
<noautolink>
%MAKEINDEX{
  "%HIERARCHY{
     web="%BASEWEB%"
     top="TopCategory"
     exclude="TopCategory"
     depth="2"
     format="$title;$topic;$origweb$n"
  }%"
  cols="%CLASSIFICATIONPLUGIN_NRCOLS{default="3"}%"
  header="<h2>Top categories</h2>
    There 
    $percntIF{\"'$count'='1'\"
      then=\" is one top category \"
      else=\" are $count  top categories \"
    }$percnt in this web."
  split="\n"
  pattern="(.*);(.*);(.*)"
  unique="on"
  format="$percntDBCALL{\"Applications.ClassificationApp.CategoryRenderCategoryItem\" OBJECT=\"$2\" THEWEB=\"$3\"}$percnt"
}%

%MAKEINDEX{
  "%HIERARCHY{
     web="%BASEWEB%"
     top="TopCategory"
     exclude="TopCategory"
     mindepth="1"
    format="$title;$topic;$origweb$n$children"
  }%"
  cols="%CLASSIFICATIONPLUGIN_NRCOLS{default="3"}%"
  header="<h2>List of all child categories</h2>
    There 
    $percntIF{\"'$count'='1'\"
      then=\" is one child category \"
      else=\" are $count child categories \"
    }$percnt in this web."
  split="\n"
  unique="on"
  pattern="(.*);(.*);(.*)"
  format="$percntDBCALL{\"Applications.ClassificationApp.CategoryRenderIndexItem\" OBJECT=\"$2\" THEWEB=\"$3\"}$percnt"
}%
</noautolink>
<!-- -->%STOPINCLUDE%

Test

Top categories

There are 6 top categories in this web.

List of all child categories

There are 82 child categories in this web.

A

comments Administration
02 May 2019
script Articles
02 May 2019

B

newspaper Blogs
02 May 2019
tag_blue Bookmarks
02 May 2019
coins Budget
02 May 2019
coins Budget
02 May 2019
bug Bug Reports
02 May 2019
chart_organisation Business Structure
02 May 2019

C

ruby Campain Management
02 May 2019
television Channel Management
02 May 2019
eye Competition
02 May 2019
application_cascade Contacts
02 May 2019
bell Corporate
02 May 2019
eye Customers
02 May 2019

D

sitemap Departments
02 May 2019
comments Development
02 May 2019
comments Documentation
02 May 2019

E

telephone Employee Directory
02 May 2019
comments Events
02 May 2019

F

comments Feature Request
02 May 2019
comments Feedback
02 May 2019
coins Finance & Planning
02 May 2019
weather_cloudy Forecast
02 May 2019
application_form Form Templates
02 May 2019
application_form Form Templates
02 May 2019
comments Forum
02 May 2019

G

comments General
02 May 2019
application_view_columns Glossary
02 May 2019
comments Groups
02 May 2019

H

help Help Desk
02 May 2019
group Human Resources
02 May 2019

I

monitor IT
02 May 2019
lorry Industry
02 May 2019
comments Installation
02 May 2019

K

ruby Knowledge Base
02 May 2019

L

book Legal
02 May 2019

M

page_white_acrobat Manuals
02 May 2019
chart_bar Marketing
02 May 2019

N

bell News & Announcements
02 May 2019

O

Open Jobs
02 May 2019
anchor Our Company
02 May 2019

P

comments Performance
02 May 2019
connect Pipeline Management
02 May 2019
chart_curve Plans & Presentations
02 May 2019
ipod_cast Podcasts
02 May 2019
report_user Policies
02 May 2019
report Policies
02 May 2019
cog Processing
02 May 2019
cake Products
02 May 2019
pilcrow Projects
02 May 2019

Q

rosette Quality Management
02 May 2019

R

chart_curve Reporting
02 May 2019
chart_curve Reporting
02 May 2019
find Research
02 May 2019

S

world Sales
02 May 2019
comments Security
02 May 2019
folder_heart Services
02 May 2019
comments Services
02 May 2019
cog Software
02 May 2019
Starter Kit
02 May 2019
comments Support
02 May 2019

T

TestCategory Eleven
02 May 2019
TestCategory Vierzehn
02 May 2019
TestCategory10
02 May 2019
TestCategory12
02 May 2019
TestCategory13
02 May 2019
TestCategory15
02 May 2019
TestCategory3
02 May 2019
TestCategory4
02 May 2019
TestCategory6
blabla
02 May 2019
TestCategory7
foo bar summary
02 May 2019
TestCategory8
02 May 2019
TestCategory9
02 May 2019
wrench_orange Tools & Services
02 May 2019
sport_football Training
02 May 2019
car Traveling
02 May 2019

U

comments Upgrading
02 May 2019

W

group Wikis
02 May 2019
comments Wish List
02 May 2019

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.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AustLII Communities? Send feedback
This website is using cookies. More info. That's Fine