Hello, I have been trying for over a week now to make some basic modifications to the address blocks in the Accounts, Leads, and Contacts modules. My users want the Primary Address labels "Mailing Address" and the Other address labels "Street Address". They also want the "Copy address from Left" checkbox moved above the Other (Street) Address block.
So when we are done, the address block should display like this:
Here is what I changed so far:
In the file include/language/en_us.lang.php, I changed 'LBL_COPY_ADDRESS_FROM_LEFT' => 'Copy address from Left:' to 'LBL_COPY_ADDRESS_FROM_LEFT' => 'Same as Mailing Address:'
In the files EditView.tpl and en_us.EditView.tpl, I moved the code
{{if $displayParams.copy}}
<tr>
<td>{sugar_translate label='LBL_COPY_ADDRESS_FROM_LEFT' module=''}:</td>
<td>
<input id="{{$displayParams.key}}_checkbox" name="{{$displayParams.key}}_checkbox" type="checkbox" onclick="syncFields('{{$displayParams.copy}}', '{{$displayParams.key}}');"; CHECKED>
</td>
</tr>
{{else}}
<tr>
<td colspan="2"> </td>
</tr>
{{/if}}
from from the bottom of the table to the top.
Neither of these changes had any effect on the way the screens look in Sugar. I tried it with Developer Mode on, and I also tried running the Quick repair and rebuild.
Any suggestions? What am I doing wrong or missing? Any other places I need to make changes?
We are running Community Edition 5.2.0c and using SQL Server 2005 for our databases. I have a call into our IT group to find out the OS, webserver and PHP versions.
TIA!!
Janice


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks