[Typo3] getting TT_content fields within TV-FCE via typoscript (was:getting crdate within FCE via typoscript)
Nikolas Hagelstein
hagelstein at hauptsache.net
Thu Nov 24 15:27:25 CET 2005
Hi,
according to
http://typo3.org/documentation/document-library/doc_core_tsref/Datatype_refe
rence/
->Gettext.
Data from $cObj->data
can be retrieved via
10=TEXT
10.data=field:xyz
where xzy is a key to $cObj->data.
In common with Templavoila FCEs
data contains DS fields and its values
but no information about the corresponding
TT_content element.
These informations are located in
$cObj->parentRecord['data']
(e.g. $cObj->parentRecord['data']['uid']).
Is there any way to access $cObj->parentRecord['data']
via TS or are there other solutions to
gather the needed infomation? (tt_contents tstamp in my case)
I already had a look at class.tx_templavoila_pi1.php and
class.ts_lib.content tofind out how the FCE's data array is
contructed and to get a deeper view of how stdwrap/gettext
work.
Without any success so far :|
cheers,
NIkolas
More information about the TYPO3-english
mailing list