.. include:: /Includes.rst.txt .. _cobj-ctable: 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 :ref:`OTABLE `. It features a content column and four surrounding columns, which may be useful for putting menus into them. .. ### BEGIN~OF~TABLE ### .. container:: table-row Property offset Data type x,y /:ref:`stdWrap ` Description Offset from upper left corner. Default 0,0 .. container:: table-row Property tm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description TopMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property lm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description LeftMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property rm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description RightMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property bm Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description BottomMenu The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property c Data type :ref:`->CARRAY ` +TDParams /:ref:`stdWrap ` Description Content-cell The default value of TDParams is: valign="top". stdWrap is available for the property TDParams. .. container:: table-row Property cMargins Data type :ref:`margins ` /:ref:`stdWrap ` Description Distance around the content-cell "c". Default 0,0,0,0 .. container:: table-row Property cWidth Data type :ref:`pixels ` /:ref:`stdWrap ` Description Width of the content-cell "c". .. container:: table-row Property tableParams Data type -params /:ref:`stdWrap ` Description Attributes of the table tag. Default border="0" cellspacing="0" cellpadding="0" .. container:: table-row Property stdWrap Data type :ref:`->stdWrap ` .. ###### END~OF~TABLE ###### [tsref:(cObject).CTABLE] .. _cobj-ctable-examples: 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 =
|
}