The Foundation module is the heart and soul of the framework. To get started, drag the Loader View Component into your K2 smartform.
The Foundation module consist of the following View Components:
The Loader Component of the foundation module is responsible for loading the framework for all other modules to work.
|sbmDevMode||Enables Development Mode||false|
|sbmDebug||Enables Debugging Mode||false|
This component is responsible for adding custom themes to your K2 form. Once the CSS is added via the Themes Module, it will then be applied to all your Forms that have the foundation module in it.
|Parameter Name||Description||Parameter values|
|sbmTheme||Add the Theme Name Text||ThemeName|
|useDefaultTheme||set boolean to load new Theme||true|
Themes consist of one or a collection of items or styles. These themes can be added or altered in the Themes and the Themes.Files K2 Forms Located in the following location:
In the Themes Form you can create new themes and add CSS files to the the existing themes. In order to make the CSS files available you need add/Edit your CSS in the Themes.Files form. There is a one to many relationship between the Themes and the Themes.Files SmartBox SmartObjects.
The HelloWorld component is an example view component to demonstrate how custom Modules can be created