• Seite weiterempfehlen
  • Kontakt
  • Druckansicht
PHP
// clone the cObj so the data you writh into it does not influence the cObj which is used by the whole pi, otherwise you'll get strange phenomens
 
$localCObj = clone $this->cObj;
// add your record data$localCObj->data = $yourrecord;
// execute your typoscript
$content = $localCObj->cObjGetSingle($this->conf['coolobject'], $this->conf['coolobject.']);
 
/* You could render the record title as linked text very easy:
coolobject = TEXT
coolobject {
  field = title
  typolink = 1
  typolink.parameter.field = url
} */