[TYPO3] FCE's and values from foreign tables
John Kavanagh
john.kavanagh at roomthree.com
Fri Apr 18 10:36:04 CEST 2008
Hi Dmitry,
Thanks for that. foreign_field and foreign_label are tca items - I was
just trying everything to get it to work!!
I have tried lots of typoscript using RECORDS but I cant get anything to
work. Could you give me an example?
My goal is to create records using FCE's and providing a list and
details page using FCE's and typoscript.
Thanks
John.
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Dmitry
Dulepov [typo3]
Sent: 16 April 2008 15:09
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] FCE's and values from foreign tables
Hi!
Please, notice that there is a TemplaVoila-dedicated list where all such
issues are discussed. This is made because it is easier to search
smaller list for TV solutions than huge this list :)
John Kavanagh wrote:
> I have added a select box to my flexible content element so that a
value
> from a foreign table can be selected. It is all working fine in the
> backend but in the frontend: only the uid of the item is shown instead
> of the title. My xml is as follows:
That's right. BE takes care to convert numbers to values. FE just
displays them as is. This is what you have to do manually.
<foreign_field>typename</foreign_field>
>
> <foreign_label>typename</foreign_label>
Never heard about foreign_field or foreign_label. What are those?
> What must I add?
RECORDS content object that fetches titles from table by its uid. This
is what BE does transparently for you.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list