Methods
RenderJavascriptFiles
RenderJavascriptFiles Overload 1
Renders this theme's javascript files.
Velocity
#set($stringResponse = $context_v2_themeHeader.RenderJavascriptFiles())
JavaScript
var stringResponse = context_v2_themeHeader.RenderJavascriptFiles();
RenderJavascriptFiles Overload 2
Renders this theme's javascript files.
Velocity
#set($stringResponse = $context_v2_themeHeader.RenderJavascriptFiles("%{ InheritFromParentDepth = $inheritFromParentDepthArg }"))
JavaScript
var stringResponse = context_v2_themeHeader.RenderJavascriptFiles({ InheritFromParentDepth: inheritFromParentDepthArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | Options | Set of optional parameters including: | Required | ||
InheritFromParentDepth | Int32 | Depth of parent themes from which to load javascript files. | Optional | 10 |
Returns
String
RenderParentHeader
Renders the parent theme's header.
Velocity
#set($stringResponse = $context_v2_themeHeader.RenderParentHeader())
JavaScript
var stringResponse = context_v2_themeHeader.RenderParentHeader();
Returns
String
RenderStylesheetFiles
RenderStylesheetFiles Overload 1
Renders this theme's stylesheet files based on their configuration.
Velocity
#set($stringResponse = $context_v2_themeHeader.RenderStylesheetFiles())
JavaScript
var stringResponse = context_v2_themeHeader.RenderStylesheetFiles();
RenderStylesheetFiles Overload 2
Renders this theme's stylesheet files based on their configuration.
Velocity
#set($stringResponse = $context_v2_themeHeader.RenderStylesheetFiles("%{ InheritFromParentDepth = $inheritFromParentDepthArg }"))
JavaScript
var stringResponse = context_v2_themeHeader.RenderStylesheetFiles({ InheritFromParentDepth: inheritFromParentDepthArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | Options | Set of optional parameters including: | Required | ||
InheritFromParentDepth | Int32 | Depth of parent themes from which to load stylesheet files. | Optional | 10 |
Returns
String