lucee.Componentcoldbox.system.FrameworkSupertype
contentbox.models.ui.BaseWidget
contentbox.widgets.Categories
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A cool basic widget that shows our blog categories
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
private any
|
buildDropDown([any categories], [any showPostCount])
|
private any
|
buildList([any categories], [any showPostCount])
|
any
|
renderIt([boolean dropdown='false'], [boolean showPostCount='true'], [string title=''], [string titleLevel='2'], [boolean isPublic='true'])
Show the blog categories. |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Method Detail |
---|
categories
showPostCount
categories
showPostCount
Show the blog categories
renderIt
in class
BaseWidget
dropdown
- Display as a dropdown or a list, default is listshowPostCount
- Show post counts or not, default is truetitle
- The title to show before the dropdown or list, defaults to H2titleLevel
- The H{level} to use, by default we use H2isPublic
- Get all public categories by default. False, get private, null or empty, get all