DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
User function¶
Example:¶
page = PAGE
page {
typeNum = 0
config {
disableAllHeaderCode = 0
admPanel = 0
xhtml_cleaning = 0
contentObjectExceptionHandler = 0
}
stdWrap {
postUserFunc = WebentwicklerAt\Emogrifier\UserFunctions\Emogrifier->emogrify
postUserFunc {
css = COA
css {
10 = FILE
10.file = EXT:{$projectKey}/Resources/Public/Css/Newsletter.css
}
extractContent = 1
}
}
10 = FLUIDTEMPLATE
10.file = EXT:{$projectKey}/Resources/Private/Templates/Newsletter.html
}
In this example the rendering of page and content with FLUIDTEMPLATE is defined as used very often. Processing with
emogrifier is added with stdWrap.postUserFunc = WebentwicklerAt\Emogrifier\UserFunctions\Emogrifier->emogrify
.