It looks like I've got most of it down. Here's what I've done so far:
/com_contact/admin.contact.html.php
Added just above contact position around line 355
Code: Select all
<tr>
<td class="key" valign="top">
<label for="region">
<?php echo JText::_( 'Region' ); ?>:
</label>
</td>
<td>
<input class="inputbox" type="text" name="region" id="region" size="60" maxlength="255" value="<?php echo $row->region; ?>" />
</td>
</tr>
Added just above "contact's position" around line 29
Code: Select all
<param name="show_region" type="radio" default="1" label="Show Region" description="Show/Hide the Region">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>
Added just below "name" area around line 17
Code: Select all
<param name="show_region" type="radio" default="1" label="Region" description="Show/Hide the region">
<option value="0">Hide</option>
<option value="1">Show</option>
</param>
Added just under "alias" string:
Code: Select all
var $region = null;
/** @var string */
Code: Select all
mysql> ALTER TABLE jos_contact_details ADD region VARCHAR(60) AFTER alias;
Query OK, 13 rows affected (0.02 sec)
Records: 13 Duplicates: 0 Warnings: 0