[TYPO3] FCE's and values from foreign tables

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Apr 16 16:08:52 CEST 2008


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"


More information about the TYPO3-english mailing list