[TYPO3-english] View label when using multiple records in the list view

Guillermo R. Oramas J. oramas.g at gmail.com
Thu Jun 23 22:49:06 CEST 2011


Hello.

I'm sorry if the subject of the message is not to clear.

The situation is that I made a custom plugin to storage organizations.

I have a field Geographical Scope that look up in two tables: Regions
and Countries. I used a group db field type for that. Here is the TCA
for the field:

		'carea' => array (		
			'exclude' => 1,		
			'label' => 'LLL:EXT:ori_org/locallang_db.xml:tx_oriorg_pt.carea',		
			'config' => array (
				'type' => 'group',	
				'internal_type' => 'db',	
				'allowed' => 'tx_oriorg_regions,tx_oriorg_countries',	
				'size' => 1,	
				'minitems' => 1,
				'maxitems' => 1,	
			)
		),

When I look in the List module I see the relation: tx_oriorg_regions_2
but not the name of the country or region.

When the relation is using MM tables it shows the number of the
relations but not the names.

With select type is posible, but I can't use many tables or open the
Page Tree Navigator.

There is a trick to display names instead of relations?

Thanks.

Memo.


More information about the TYPO3-english mailing list