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.
Setup¶
styles.content¶
get¶
Property
get
Data type
cObj
Description
Predefined CONTENT objects for getting content from columns. Column: Normal
Default
getRight¶
Property
getRight
Data type
cObj
Description
Predefined CONTENT objects for getting content from columns. Column: Right
Default
getLeft¶
Property
getLeft
Data type
cObj
Description
Predefined CONTENT objects for getting content from columns. Column: Left
Default
getBorder¶
Property
getBorder
Data type
cObj
Description
Predefined CONTENT objects for getting content from columns. Column: Border
Default
getNews¶
Property
getNews
Data type
cObj
Description
Predefined CONTENT object for getting News from a special page (defined in Constants)
Default
editPanelPage¶
Property
editPanelPage
Data type
cObj
Description
Predefined EDITPANEL object for displaying a panel to edit the page (frontend editing).
Default
Example 1¶
Here is some example setup code for styles.content
. Note that all properties of
CONTENT objects apply.
styles.content.get = CONTENT
styles.content.get {
table = tt_content
select.orderBy = sorting
select.where = colPos=0
select.languageField = sys_language_uid
}
Example 2¶
And here is an example setup for the edit panel. Note that all propoperties of EDITPANEL objects apply.
styles.content.editPanelPage = EDITPANEL
styles.content.editPanelPage {
allow = toolbar,move,hide
label.data = LLL:EXT:css_styled_content/Resources/Private/Language/locallang.xlf:eIcon.page
label.wrap = | <b>%s</b>
}
lib.parsefunc_RTE¶
The lib.parsefunc_RTE is responsible for rendering the RTE content. It's mainly a copy of lib.parsefunc with some modifications.
For reference see parseFunc, HTMLparser and HTMLparser_tags in the TypoScript Reference.
lib.stdheader¶
With the lib.stdheader object the headlines are rendered. Here you can influence how the different header layouts will appear on your site.
tt_content¶
This is the heart of CSS Styled Content. The CASE object for rendering the different content element types. The use of CASE (based on the "tt_content" field "CType") makes it possible to provide a different rendering for each element type.
stdWrap.innerWrap¶
The innerWrap part is responsible for the rendering of section frames. This is the definition of what happens if you choose a frame in a content element.
stdWrap.prepend¶
Used to prepend the localized uid of the content element (in case it is translated).
stdWrap.editPanel¶
Defines the edit panels for the content elements.