Results 1 to 3 of 3

Thread: removing "assigned to" from sidecreateview

  1. #1
    avidan is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    15

    Default removing "assigned to" from sidecreateview

    OS: Ubuntu 7.10 Server
    Sugar version: 5 CE
    Webserver type: Apache 2.2
    PHP: 5.2.1
    Mysql: 5.0

    Hello,

    I am trying to eliminate the "assigned to" field for creating new contacts on the left hand "side create quick view". It shows up by default on the home screen and the contact module screen.
    I found the following files that seemed to contain the magic:
    /modules/Contacts/metadata/sidecreateviewdefs.php
    /modules/Contacts/vardefs.php

    I went into the vardefs.php page and made the following change:
    'assigned_user_link' =>
    array (
    'name' => 'assigned_user_link',
    'type' => 'link',
    'relationship' => 'contacts_assigned_user',
    'vname' => 'LBL_ASSIGNED_TO_USER',
    'link_type' => 'one',
    'required'=>false,...........

    Then I went into the sidecreateviewdefs.php file and REMOVED the following lines (after trying to just change the "required" to false):

    array (
    array('name'=>'assigned_user_name', 'displayParams'=>array('required'=>true,'size'=>11 , 'selectOnly'=>true)),
    ),



    What am I missing?

    This was the first step of modifying the side create view, and before I move on the next step, which would be to add the "company" field, I would like to get this part working....

    any thoughts?

    thanks,
    avidan

  2. #2
    Aisha16 is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    35

    Default Re: removing "assigned to" from sidecreateview

    Hi avidan

    Did you have any luck getting that working - i am trying to do something similar in Accounts - need to change the current website field to be a differernt field. Found the details in the sidecreateviewdefs.php and made the appropriate changes but I cannot get them to show up in sugar!

    any help appreciated please

  3. #3
    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: removing "assigned to" from sidecreateview

    Hi, all.

    For SugarCRM 5.0.0f you can copy the sidequickcreatedefs.php to custom/modules/Contacts/metadata and remove the assigned_user_name field.

    It is not necessary to convert the require from true to false at the vardefs.php, and it is a bad idea because it is not upgrade safe customization.

    I just tried that suggestion and it works properly.

    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. "Assigned to:" for "Notes or Attachments"
    By iason.schizas in forum Feature Requests
    Replies: 1
    Last Post: 2010-04-28, 12:20 PM
  2. "assigned to" based on owner ?
    By nadigo in forum Developer Help
    Replies: 0
    Last Post: 2007-10-18, 02:36 PM
  3. automatic "Assigned to:" in Create Campaign (Classic)
    By chuangk in forum Developer Help
    Replies: 5
    Last Post: 2007-09-25, 02:21 AM
  4. Replies: 3
    Last Post: 2006-07-25, 06:58 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
  •