Php
This works for me; it displays any content item with this ID:
function getCE($id) { $conf['tables'] = 'tt_content'; $conf['source'] = $id; $conf['dontCheckPid'] = 1; return $GLOBALS['TSFE']->cObj->cObjGetSingle('RECORDS', $conf); }
See http://lists.typo3.org/pipermail/typo3-dev/2007-May/023467.html
This also works for non-cached plugins. You will get a string like <!--INT_SCRIPT.0f1c1787dc3f62e40f944b93a2ad6a81--> , but TYPO3 will replace it on the next pass of INT transmission with real content.
Liquid
If you are in a liquid template, it is useful to use VHS content.render to view the helper :
<v:content.render contentUids="{0: textelementid}"/>
If your liquidcontent element has the grid itself, you can visualize the elements using your own content.get or content.render flux:
<f:section name="Configuration> ... <flux:grid.column name="teaser"/> ... </f:section> <f:section name="Main> <flux:content.render area="teaser"/> <f:section>
cweiske
source share