Results 1 to 1 of 1

Thread: Address Block Modifications

  1. #1
    jaolick is offline Member
    Join Date
    May 2009
    Posts
    8

    Default Address Block Modifications

    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">&nbsp;</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
    Last edited by jaolick; 2009-05-07 at 06:33 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Modify Address Block in Studio
    By tjabaut in forum Help
    Replies: 3
    Last Post: 2009-02-18, 03:26 PM
  2. Javascript modifications
    By Delos in forum Developer Help
    Replies: 10
    Last Post: 2008-09-25, 08:35 PM
  3. Address Block Modification
    By jreutter in forum Help
    Replies: 1
    Last Post: 2008-01-28, 12:54 AM
  4. Sugar Modifications
    By blakegrover in forum Developer Help
    Replies: 3
    Last Post: 2005-05-31, 08:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •