Results 1 to 5 of 5

Thread: Lost Billing and Shipping Address fields

  1. #1
    bstonehill is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    Atlanta, GA
    Posts
    98

    Default Lost Billing and Shipping Address fields

    Since updating to 5.1 the Billing Address and Shipping Address fields in Detail View had huge gaps between lines. I tried removing them from detail view and adding them back but after I removed them they are no longer an option, all I can get is the individual address, city, state, zip fields. How can I get the single field with the complete address back?
    Sugar Version 5.1.0a
    PHP 5.2.5
    MySQL 5.0.37

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Lost Billing and Shipping Address fields

    Hi bstonehill

    If you have access to the files you can copy this field from a clean installation to the customized one.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    bstonehill is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    Atlanta, GA
    Posts
    98

    Default Re: Lost Billing and Shipping Address fields

    What files do I need to copy to just get the field layout for accounts detail view without interfering with anything else?
    Sugar Version 5.1.0a
    PHP 5.2.5
    MySQL 5.0.37

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Lost Billing and Shipping Address fields

    Hi bstonehill

    Just paste these piece of code to the custom/modules/Accounts/metadata:

    editviewdefs:
    PHP Code:
           'lbl_address_information'=>array(
                    array (
                          array (
                          
    'name' => 'billing_address_street',
                          
    'hideLabel'=> true,
                          
    'type' => 'address',
                          
    'displayParams'=>array('key'=>'billing''rows'=>2'cols'=>30'maxlength'=>150),
                          ),
                    array (
                          
    'name' => 'shipping_address_street',
                          
    'hideLabel' => true,
                          
    'type' => 'address',
                          
    'displayParams'=>array('key'=>'shipping''copy'=>'billing''rows'=>2'cols'=>30'maxlength'=>150),      
                          ),
                    ),
           ), 
    detailviewdefs:
    PHP Code:
            array (
                  array (
                  
    'name' => 'billing_address_street',
                  
    'label'=> 'LBL_BILLING_ADDRESS',
                  
    'type' => 'address',
                  
    'displayParams'=>array('key'=>'billing'),
                  ),
            array (
                  
    'name' => 'shipping_address_street',
                  
    'label'=> 'LBL_SHIPPING_ADDRESS',
                  
    'type' => 'address',
                  
    'displayParams'=>array('key'=>'shipping'),      
                  ),
            ), 
    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    bstonehill is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    Atlanta, GA
    Posts
    98

    Default Re: Lost Billing and Shipping Address fields

    Hmmm.... that doesn't seem to work. The only difference I saw between what you provided and what was already there was the absence of these two lines:

    Code:
                'type' => 'address',
                'displayParams'=>array('key'=>'billing'),
    Thanks!

    **Edit**

    Nevermind, that worked great! I had to redeploy the layout after the edit.

    Thanks a ton!
    Last edited by bstonehill; 2008-09-08 at 08:24 PM.
    Sugar Version 5.1.0a
    PHP 5.2.5
    MySQL 5.0.37

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-08-23, 03:09 PM
  2. Contact Creation : Address Linking
    By skewty in forum Feature Requests
    Replies: 2
    Last Post: 2008-05-16, 09:19 PM
  3. Replies: 3
    Last Post: 2008-03-05, 01:34 PM
  4. Address & account management
    By george_bbch in forum General Discussion
    Replies: 14
    Last Post: 2006-05-01, 04:11 PM
  5. Replies: 0
    Last Post: 2005-03-26, 02:54 PM

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
  •