Package

ViewHelpers

ViewHelper Documentation

be.container

View helper which allows you to create extbase based modules in the style of TYPO3 default modules.

= Examples =

<f:be.container>your module content</f:be.container> "your module content" wrapped with proper head & body tags. Default backend CSS styles and JavaScript will be included

<f:be.container pageTitle="foo" enableJumpToUrl="false" enableClickMenu="false" loadPrototype="false" loadScriptaculous="false" scriptaculousModule="someModule,someOtherModule" loadExtJs="true" loadExtJsTheme="false" extJsAdapter="jQuery" enableExtJsDebug="true" loadJQuery="true" includeCssFiles="0: '{f:uri.resource(path:\'Styles/Styles.css\')}'" includeJsFiles="0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'" addJsInlineLabels="{0: 'label1', 1: 'label2'}" includeCsh="true">your module content</f:be.container> "your module content" wrapped with proper head & body tags. Custom CSS file EXT:your_extension/Resources/Public/Styles/styles.css and JavaScript files EXT:your_extension/Resources/Public/JavaScript/Library1.js and EXT:your_extension/Resources/Public/JavaScript/Library2.js will be loaded, plus ExtJS and jQuery and some inline labels for usage in JS code.

Arguments

pageTitle string

$pageTitle title tag of the module. Not required by default, as BE modules are shown in a frame

enableJumpToUrl boolean

If TRUE, includes "jumpTpUrl" javascript function required by ActionMenu. Defaults to TRUE, deprecated, as not needed anymore

enableClickMenu boolean

If TRUE, loads clickmenu.js required by BE context menus. Defaults to TRUE

loadPrototype boolean

specifies whether to load prototype library. Defaults to TRUE

loadScriptaculous boolean

specifies whether to load scriptaculous libraries. Defaults to FALSE

scriptaculousModule string

$scriptaculousModule additionales modules for scriptaculous

loadExtJs boolean

specifies whether to load ExtJS library. Defaults to FALSE

loadExtJsTheme boolean

whether to load ExtJS "grey" theme. Defaults to FALSE

extJsAdapter string

$extJsAdapter load alternative adapter (ext-base is default adapter)

enableExtJsDebug boolean

if TRUE, debug version of ExtJS is loaded. Use this for development only

addCssFile string

Custom CSS file to be loaded (deprecated, use $includeCssFiles)

addJsFile string

Custom JavaScript file to be loaded (deprecated, use $includeJsFiles)

loadJQuery boolean

whether to load jQuery library. Defaults to FALSE

includeCssFiles anySimpleType

List of custom CSS file to be loaded

includeJsFiles anySimpleType

List of custom JavaScript file to be loaded

addJsInlineLabels anySimpleType

Custom labels to add to JavaScript inline labels

includeCsh boolean

flag for including CSH

ViewHelper Resources

Schema Resources