[TYPO3] Plain FCE, getting the content

Dmitry Dulepov typo3 at fm-world.ru
Mon Jan 30 16:53:56 CET 2006


Hi!

Martin Koch Andersen wrote:
> Dmitry Dulepov skrev:
>> Error in this line...
> 
> Very paedagogic :)

Well, since you found it yourself, just next time you will not make same
mistake again. It is a bonus :)

> I did try tx_templavoila_pi1->main actually. The problem seem to be the
> select statement. I can get the FCE (which is in a sysfolder) by using
> pidInList. But uidInList, for some reason, does not work. You have any
> idea why, or do you need further information to answer this?

Well, pidInList is stdWrap. uidInList is plain string. So you can put
only hard-coded numbers to uidInList but can manipulate pidInList with
data, registers and other TS ways. Reference:
http://typo3.org/documentation/document-library/doc_core_tsref/select/

> By the way, templavoila creates an input field (a form input element)
> for each language. So I have one FCE with three lines, where I can put
> input for each language. With usual content elements, you have one input
> line, and then you translate the content element itself. What is the
> reasoning behind the templavoila/FCE approach?

This is not TV-specific, this is how flexforms in typo3 work. If I
remember correctly, there is a proposal and intention to change this to
a tab-per-language, i.e.:

|----------------------------|
| English | German | Turkish |
|----------------------------|

etc. But personally I like current approach more than tabs: it allows me
to have a quick overview of translations without a need to switch
between tabs...

Dmitry.



More information about the TYPO3-english mailing list