Attention
TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.
CTABLE¶
Note
This content object has been deprecated in TYPO3 CMS 7.1. If you still use it for now, you need to install the extension "compatibility6". In the long run, you are advised to migrate to alternatives such as FLUIDTEMPLATE to customize the output of the content.
Creates a table in which you can define the content of the various cells.
A CTABLE is a little more feature packed than the simple OTABLE. It features a content column and four surrounding columns, which may be useful for putting menus into them.
Property
tm
Description
TopMenu
The default value of TDParams is: valign="top".
stdWrap is available for the property TDParams.
Property
lm
Description
LeftMenu
The default value of TDParams is: valign="top".
stdWrap is available for the property TDParams.
Property
rm
Description
RightMenu
The default value of TDParams is: valign="top".
stdWrap is available for the property TDParams.
Property
bm
Description
BottomMenu
The default value of TDParams is: valign="top".
stdWrap is available for the property TDParams.
Property
c
Description
Content-cell
The default value of TDParams is: valign="top".
stdWrap is available for the property TDParams.
Property
cMargins
Description
Distance around the content-cell "c".
Default
0,0,0,0
Property
tableParams
Data type
<TABLE>-params /stdWrap
Description
Attributes of the table tag.
Default
border="0" cellspacing="0" cellpadding="0"
[tsref:(cObject).CTABLE]
Example:¶
page.10 = CTABLE
page.10 {
offset = 5, 0
tableParams = style="border-width: 0px; width: 400px;"
cWidth = 400
c.1 = CONTENT
c.1.table = tt_content
c.1.select {
pidInList = this
orderBy = sorting
}
tm.10 < temp.sidemenu
tm.TDParams = style="vertical-align: top;"
stdWrap.wrap = <div id="mytable">|</div>
}