Results 1 to 8 of 8

Thread: How to make Description entry text box larger in Leads and Accounts

  1. #1
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default How to make Description entry text box larger in Leads and Accounts

    (Mac, OS X 10.4, Firefox, 5.2.0a)

    How can I make the Description text-entry box (in edit) larger for both Leads and Accounts. I use it to keep running logs of phone conversations and actions taken with clients. In Safari there is a corner I can drag (surprised me!) but not in FireFox (Mac). If I have to change code, where is it... what is it... and won't it be wiped out at next upgrade?

    Thanks
    Al

  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: How to make Description entry text box larger in Leads and Accounts

    Hi All

    You need to set the attribute

    PHP Code:
    'displayParams' => array(
      
    'rows' => 10,
      
    'cols' => 100,
    ), 
    in the description defs on editviewdefs.php
    Remember you can change the values for both 'rows' and 'cols' according to your needs.

    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
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default Re: How to make Description entry text box larger in Leads and Accounts

    There are a lot of editviewdefs.php files. The one for Leads (/modules/Leads/metadata/editviewdefs.php) does not have an array for "description." Where is the file I need to change?

    Thanks,

    Al

  4. #4
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: How to make Description entry text box larger in Leads and Accounts

    hi,
    There is description field in editviewdefs.php both on Leads & Accounts modules.
    Do changes Accordingly.
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

  5. #5
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default Re: How to make Description entry text box larger in Leads and Accounts

    I tried this but it didn't change anything:

    PHP Code:
      'lbl_description_information' => 
      array (
        
        array (
          
    'description',

    'displayParams' => array(
      
    'rows' => 20,
      
    'cols' => 200,
    ), 

  6. #6
    vipul is offline Member
    Join Date
    Apr 2009
    Location
    Pune
    Posts
    5

    Default Re: How to make Description entry text box larger in Leads and Accounts

    Hi
    you have to repair your module.Then it will works.

  7. #7
    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: How to make Description entry text box larger in Leads and Accounts

    Go to Admin -> Repair -> Quick Repair and Rebuild

    Then it should work.

    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.

  8. #8
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default Re: How to make Description entry text box larger in Leads and Accounts

    Quote Originally Posted by andopes View Post
    Go to Admin -> Repair -> Quick Repair and Rebuild

    Then it should work.

    Cheers
    Nope. Here is what I have in /htdocs/sugar/modules/Leads/metadata/editviewdefs.php

    PHP Code:
      'lbl_description_information' => 
      array (
        
        array (
          
    'description',   
          
    //
    'displayParams' => array(
      
    'rows' => 50,
      
    'cols' => 500,
    ),  
    //
          
        
    ),
      ),
    )


    );
    ?> 
    I did the quick repair and still have the same small text entry box for description.

    Thanks,

    Al

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How can i make text box field readonly in a module ?
    By rahulbhandari in forum Developer Help
    Replies: 17
    Last Post: 2010-07-07, 03:31 AM
  2. How to make text filed displayed in subpanel
    By kevinwangsct in forum Sugar Developer Website
    Replies: 5
    Last Post: 2009-05-22, 02:57 AM
  3. Replies: 1
    Last Post: 2009-01-30, 06:00 PM
  4. Replies: 0
    Last Post: 2006-02-27, 06:42 AM
  5. Larger calendar
    By nmpaulcp in forum Downloads
    Replies: 0
    Last Post: 2006-01-06, 08: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
  •