Results 1 to 8 of 8

Thread: Layout

  1. #1
    bob1965 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    41

    Default Layout

    Can I create more than 2 columns on the layout ? sorry, more specific its in :

    Leads>>Layout>>Editview

    It appears to only let me show 2 fields in one row and as I have a number of fields which are dropdowns Y/N
    there is a lot of sparcity on the screen.
    Last edited by bob1965; 2009-07-28 at 10:03 AM.

  2. #2
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: Layout

    Hi, please be more specific. Which layout is that?
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  3. #3
    bob1965 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    41

    Default Re: Layout

    sorry , new to this ,

    LEADS>>LAQYOUTS>>EDIT VIEW

    I can only put 2 fields in on row, some of my fields are dropdowns Y/N and hence the screen looks sparse

  4. #4
    bob1965 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    41

    Default Re: Layout

    sorry, more specific its in :

    Leads>>Layout>>Editview

    It appears to only let me show 2 fields in one row and as I have a number of fields which are dropdowns Y/N
    there is a lot of sparcity on the screen.

  5. #5
    bob1965 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    41

    Default Re: Layout

    did you get my reply, i think my system is playing up !

  6. #6
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: Layout

    Quote Originally Posted by bob1965 View Post
    sorry, more specific its in :

    Leads>>Layout>>Editview

    It appears to only let me show 2 fields in one row and as I have a number of fields which are dropdowns Y/N
    there is a lot of sparcity on the screen.
    Hi try this;

    Copy editview.defs.php from modules\Leads\metadata
    and save this in \custom\modules\Leads\metadata

    Replace these lines;

    PHP Code:
     'maxColumns' => '2'
      
    'widths' => array(
       array(
    'label' => '10''field' => '30'), 
       array(
    'label' => '10''field' => '30')
    ), 
    into

    PHP Code:
    'maxColumns' => '3',
     
    'widths' =>  array (
            
    => 
            array (
              
    'label' => '10',
              
    'field' => '30',
            ),
            
    => 
            array (
              
    'label' => '10',
              
    'field' => '30',
            ),
            
    => 
            array (
              
    'label' => '10',
              
    'field' => '30',
          ),
    ), 
    Rebuild Extensions
    Last edited by dekleinemedia; 2009-07-28 at 12:21 PM.
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  7. #7
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: Layout

    Your panels have to look something like this;

    Example

    PHP Code:
        'panels' => 
        array (
          
    'lbl_panel' => 
          array (
            
    => 
            array (
              
    => 
              array (
                
    'name' => 'index_number',
                
    'label' => 'LBL_INDEX_NUMBER',
              ),
              
    => 
              array (
                
    'name' => 'contract_date',
                
    'label' => 'LBL_CONTRACT_DATE',
              ),
              
    => 
              array (
                
    'name' => 'acc_number',
                
    'label' => 'LBL_ACC_NUMBER',
              ),
            ), 
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  8. #8
    bob1965 is offline Senior Member
    Join Date
    Jul 2009
    Posts
    41

    Default Re: Layout

    Thank you very much, most kind

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-05-13, 09:29 AM
  2. Replies: 16
    Last Post: 2008-04-24, 06:20 PM
  3. Replies: 1
    Last Post: 2007-09-22, 10:49 AM
  4. Can we use "Field Layout" to change Search layout?
    By sugarcrmvn in forum General Discussion
    Replies: 0
    Last Post: 2006-05-08, 08:49 AM
  5. Layout
    By hjmp in forum Help
    Replies: 0
    Last Post: 2005-07-13, 02:23 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
  •