contentbox.models.ui.BaseWidget
) and lives in a specific location where ContentBox can register it. It must have at least one rendering function called renderIt()
and it has full access to WireBox dependency injection and helper objects.Look & Feel > Widgets
. You can manage existing widgets, upload new widgets, or download widgets from Forgebox as well./modules/contentbox/widgets
/modules_app/contentbox-custom/_widgets
widgets
folder in the root of the module.widgets
folder in its root, then all of those widgets will also be registered in ContentBox.WidgetName
will be searched for in the following locations by convention:~
address:widget()
method:renderIt()
method by convention. If you want more control, then retrieve the widget instance and use it.getWidget()
method from the CBHelper.