ViewHelper Documentation


This ViewHelper renders CObjects from the global TypoScript configuration.

= Examples =

<f:cObject typoscriptObjectPath="lib.someLibObject" /> rendered lib.someLibObject

<f:cObject typoscriptObjectPath="lib.customHeader" data="{article}" current="{article.title}" /> rendered lib.customHeader. data and current value will be available in TypoScript

{article -> f:cObject(typoscriptObjectPath: 'lib.customHeader')} rendered lib.customHeader. data will be available in TypoScript


typoscriptObjectPath string, required

the TypoScript setup path of the TypoScript object to render

data string, required

the data to be used for rendering the cObject. Can be an object, array or string. If this argument is not set, child nodes will be used

currentValueKey string, required

ViewHelper Resources

Schema Resources