lucee.Component coldbox.system.FrameworkSupertype contentbox.models.ui.BaseWidget contentbox.widgets.SubPageMenu
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A widget that renders sub pages according to where it is rendered.
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
array
|
getSlugList()
Return an array of slug lists, the @ignore annotation means the ContentBox widget editors do not use it only used internally. |
any
|
renderIt([string page], [string excludes], [string type='ul'], [string separator=''], [boolean showNone='true'], [numeric levels='1'], [any parentClass='parent'], [any activeClass='active'], [boolean activeShowChildren='false'])
Renders a ContentBox sub page menu according to where it is rendered. |
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 |
---|
Return an array of slug lists, the @ignore annotation means the ContentBox widget editors do not use it only used internally.
Renders a ContentBox sub page menu according to where it is rendered
renderIt
in class
BaseWidget
page
- Optional page to create sub page menu for, else look for current page, this can be a page object or a page slugexcludes
- The list of pages to exclude from the menutype
- The type of menu, valid choices are: ul,ol,li,noneseparator
- Used if type eq none, to separate the list of href'sshowNone
- Shows a 'No Sub Pages' message or notlevels
- The number of levels to nest hierarchical pages, by default it does only 1 level, * does all levelsparentClass
- The name of the CSS class to attach to the menu activeClass
- The name of the CSS class to attach to the menu activeShowChildren
- If true, then we will show the children of the active menu element, else we just show the active element