[Typo3] Templavoila FCE & Typoscript
Nikolas Hagelstein
hagelstein at hauptsache.net
Wed Nov 30 12:45:15 CET 2005
Hi,
It seems as if TS inside FCE's
behaves a little different from normal.
Especially regarding gettext etc.
The following
10=TEXT
10.data=field:xxx
or
10=TEXT
10.field=xxx
normaly adresses the $cOBj->data array.
Within FCEs $cOBj->data contains the flexform fields
of the same level that the TS resists at.
That means within a section/container
$cOBj->data is restricted to fields of the current
level(section/container).
Furthermore it seems as if sections and containers
itself are not manipulable by TS.
That means that something like this:
<myCO type="array">
<type>array</type>
<section>1</section>
<tx_templavoila type="array">
<title>Container</title>
<eType>none</eType>
<TypoScript><![CDATA[
10 = TEXT
10.value=hello world
]]>
</TypoScript>
</tx_templavoila>
<el type="array">
.
.
has no effect at all.
All of the above raises at least 2 questions:
1.How to acccess tt_content fields (header,uid CType) from within FCEs?
already discussed here without any result:
http://tinyurl.com/atcx2
http://tinyurl.com/7q7uf
http://tinyurl.com/do98v
2.Is it possible to wrap sections and containers?
This makes sense in the case that a list of
repeatable elements (linklist e.q) has to be
optically seperated. (with a leading paragraph or hl)
example:
http://tinyurl.com/aa73n
I would really like to hear your opinion about the above
mentioned.:)
Bye,
Nikolas
More information about the TYPO3-english
mailing list