Results 1 to 2 of 2

Thread: How to expand sugarcrm username to be >25 characters?

  1. #1
    redminer is offline Junior Member
    Join Date
    Jan 2012
    Posts
    1

    Default How to expand sugarcrm username to be >25 characters?

    Currently sugarcrm username could not be more than 25 characters. I use CAS SSO integration and the username is the email address, which might be more than 25 characters.

    Then I need to expand the limitation from 25 to 255. How to?

    I know I could create custom/Extension/modules/Tasks/Ext/Vardefs/custom.php file, but what's inside? e.g., $dictionary['Task']['fields']['name']['len'] = '255';

  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 expand sugarcrm username to be >25 characters?

    Hi redminer

    The script is custom/Extension/modules/Users/Ext/Vardefs/custom.php
    And the content is

    PHP Code:
    <?PHP
    $dictionary
    ['User']['fields']['user_name']['len'] = '255';
    ?>
    You also must update the script modules/Users/EditView.tpl in order to increase the attributes size and maxlength.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2012-01-10, 10:55 AM
  2. SugarCRM producing garbage characters
    By Jashank in forum Help
    Replies: 4
    Last Post: 2010-12-22, 09:36 PM
  3. Replies: 1
    Last Post: 2010-06-18, 10:39 AM
  4. Replies: 5
    Last Post: 2010-04-22, 02:37 AM
  5. Replies: 3
    Last Post: 2006-12-29, 09:06 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
  •