[TYPO3-dev] for and last name in news_author_rel selector box

Peter Quiel amendeus at web.de
Fri Jun 9 13:37:48 CEST 2006


Hello,

i'm using tt_news 2.3.6 with address_field_ext and news_author_rel 0.2.0 to 
link an author from tt_address to a news article. I have to short the news 
articles by the last name and i paste 

$TCA['tt_address']['ctrl']['label'] = 'name';

into news_authors_rels ext_tables.php file. now the last name ist shown in 
author selection box.

By changing 

'foreign_table_where' => $fTableWhere.'ORDER BY '.$foreign_table.'.uid', 

into 

'foreign_table_where' => $fTableWhere.'ORDER BY '.$foreign_table.'.name',

the authors are now sorted by the last name. 

My problem is: i have now 130 address entries and a view people with the same 
last name, so i can not distinguish between them.

Somethin like

$TCA['tt_address']['ctrl']['label'] = 'name, tx_addressfieldext_forname';

doesn't work.

Does anyone have an idee?

Thanks in advance

Greetings,
Peter




More information about the TYPO3-dev mailing list