<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<STYLE></STYLE>

<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-LEFT: 10px; FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; BORDER-TOP-STYLE: none; PADDING-TOP: 15px; FONT-STYLE: normal; FONT-FAMILY: Verdana; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; TEXT-DECORATION: none; BORDER-BOTTOM-STYLE: none" 
leftMargin=0 topMargin=0 acc_role="text" CanvasTabStop="true" 
name="Compose message area"><!--[gte IE 5]><?xml:namespace prefix="v" /><?xml:namespace prefix="o" /><![endif]-->
<DIV>Hi everyone,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Developing my first extension and wondered if this is possible.&nbsp; I 
have&nbsp;2 tables, one containing people records (containing 2 columns, 1 for 
Surname, the other Forename) the other containing details regarding teams.&nbsp; 
The extension is intended to be used as a sports team management system.</DIV>
<DIV>&nbsp;</DIV>
<DIV>When displaying people records in the "List" view it would only list the 
"Surname" (as "label" = surname) which obviously caused problems distinguishing 
different people with the same surname.&nbsp; So I modified by TCA and set the 
label_alt="forename" and label_alt_force=true.&nbsp; This fixed the "List" view 
in that records are now displayed in the format &lt;Surname&gt;, 
&lt;Forename&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have another table, called Teams, where I want to select a number of 
people (who are team coaches)&nbsp;from my first table via a "GROUP" 
columm.&nbsp; I have my TCA column defined as:</DIV>
<DIV>&nbsp;&nbsp;"coaches" =&gt; Array 
(&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;"exclude" =&gt; 
1,&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;"label" =&gt; 
"LLL:EXT:user_webboteammgr/locallang_db.php:tx_webboteammgr_teams.coaches",&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;"config" 
=&gt; Array (<BR>&nbsp;&nbsp;&nbsp;&nbsp;"type" =&gt; 
"group",&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;"internal_type" =&gt; 
"db",&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;"allowed" =&gt; 
"tx_webboteammgr_non_players",&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;"size" =&gt; 
4,&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;"minitems" =&gt; 
0,<BR>&nbsp;&nbsp;&nbsp;&nbsp;"maxitems" =&gt; 
10,&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;"MM" =&gt; 
"tx_webboteammgr_teams_coaches_mm",<BR>&nbsp;&nbsp;&nbsp;)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Everything works great, I hit the browse button of the group column and can 
select the correct player as the records show the format as I defined earlier 
(&lt;Surname&gt;, &lt;Forename&gt;).&nbsp; However, once I select a player to be 
added to my form, it only displays the players Surname in the form not the 
&lt;Surname&gt;, &lt;Forename&gt; format that I defined.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've read the docs for the [CTRL] section and can see it says "<EM>M<!--StartFragment -->ay not be used consistently in the system, but should 
apply in most cases</EM>" regarding the "label_alt" field.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any suggestions from anyone?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Steve</DIV></BODY></HTML>