lucee.Component
coldbox.system.FrameworkSupertype
contentbox.models.ui.BaseWidget
contentbox.widgets.RelatedContent
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A nice widget that shows related content for the content
| Constructor Summary | |
|---|---|
|
init()
|
|
| Method Summary | |
|---|---|
private any
|
buildDropDown(array relatedContent)
|
private any
|
buildList(array relatedContent)
|
any
|
renderIt([boolean dropdown='false'], [string emptyMessage='Sorry, no related content was found.'], [string title=''], [string titleLevel='2'])
Show the blog categories. |
| Methods inherited from class coldbox.system.FrameworkSupertype |
|---|
| addAsset, announceInterception, getCache, getController, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getRequestCollection, getRequestContext, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
| Method Detail |
|---|
relatedContentrelatedContentShow the blog categories
renderIt
in class
BaseWidget
dropdown - Display as a dropdown or a list, default is listemptyMessage - Message to show when no related content is foundtitle - The title to show before the dropdown or list, defaults to H2titleLevel - The H{level} to use, by default we use H2