I am customizing the EditView.tpl file for the Users module. I am trying to add a dropdown field. It is a custom dropdown that I added. Here is my en_us.lang.php file. It contains the new dropdown list.
$GLOBALS['app_list_strings']['location_list']=array (
'Blank' => '',
'Chicago' => 'Chicago',
'New York City' => 'New York City',
'Los Angeles' => 'Los Angeles',
);
The lines I added for the new field in the EditView.tpl are the following:
<td width="17%" scope="row"><slot>{$MOD.LBL_LOCATION}:</slot></td>
<td width="33%" ><slot>{$LOCATION_LIST}</slot></td>
The label is working correctly, but I only get blank space for the dropdown. Do I have the incorrect naming convention? From what I see above, I thought it would be $LOCATION_LIST.
I appreciate the help.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks