Results 1 to 2 of 2

Thread: Increasing field width in Account Module

  1. #1
    john.phortse is offline Member
    Join Date
    Sep 2009
    Posts
    9

    Default Increasing field width in Account Module

    I read through the wiki and was told I would change the field with by changing the metadata. I want to increase the default field length in the Account Module to '50'. I edit /modules/Accounts/metadata/editviewdefs.php and changed the following:

    $viewdefs['Accounts']['EditView'] = array(
    'templateMeta' => array(
    'form' => array('buttons'=>array('SAVE', 'CANCEL')),
    'maxColumns' => '2',
    'widths' => array(
    array('label' => '10', 'field' => '50'),
    array('label' => '10', 'field' => '50'),
    ),
    I then do a Quick Repair and Rebuild, and edit an Account. All fields still appear in the default '30' width.

    I also attempted to make the same changes in /custom/modules/Accounts/metadata/editviewdefs.php and the results were the same.

    Any help would be appreciated.

    John

    SugarCRM CE version 5.2.0i
    Apache version 2.2.11 (Unix)
    PHP version 5.2.9
    MySQL version 5.0.77-community
    Operating system Linux

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Increasing field width in Account Module

    you are changing the percentages of the columns in which the labels and fields are displayed.

    look in the wiki for Vardefs, there is where you should change this!
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multi-Select Custom Field Width
    By ashgreen in forum Help
    Replies: 12
    Last Post: 2011-10-10, 11:42 AM
  2. How can i increase the width of multinum field.
    By nkaushal in forum Developer Help
    Replies: 2
    Last Post: 2008-09-08, 07:34 PM
  3. Drop Down Boxes - Increasing Width
    By gnorman2000 in forum Help
    Replies: 1
    Last Post: 2008-03-10, 09:13 AM
  4. Account field to Custom Module not working
    By andymac in forum Developer Help
    Replies: 0
    Last Post: 2008-01-28, 11:05 PM
  5. How do we change column width w/in a module?
    By HomeTeam in forum General Discussion
    Replies: 0
    Last Post: 2007-01-31, 06:27 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
  •