Results 1 to 4 of 4

Thread: Contact module : field "last_name" in vardefs ?

  1. #1
    denebola75 Guest

    Default Contact module : field "last_name" in vardefs ?

    Hello.
    I'm new of sugarCRM, and I'm exploring this CRM.
    I'm trying to understand the vardefs.php file in Contact Module.
    I didn't find the "last_name" and "first_name" field definition : where this two fields are defined in vardefs?
    is Contact Module extension of Users module so this fields are inherited?

    Thank you in advance for any reply.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,858

    Default Re: Contact module : field "last_name" in vardefs ?

    You can see it in cache/modules/Contacts/Contactvardefs.php. The reason it isn't in the main vardef is that it extends the "Person" template at the bottom of the file:

    PHP Code:
    VardefManager::createVardef('Contacts','Contact', array('default''assignable''person')); 
    You can find that template in include/SugarObjects/templates/person including the vardefs.php which contains last_name, etc.
    [SIGPIC][/SIGPIC]

    Using CE and have 2 or more users? You need SecuritySuite - Teams

  3. #3
    ashdwi1's Avatar
    ashdwi1 is offline Sugar Community Member
    Join Date
    May 2008
    Location
    Noida
    Posts
    427

    Default Re: Contact module : field "last_name" in vardefs ?

    Quote Originally Posted by denebola75 View Post
    Hello.
    I'm new of sugarCRM, and I'm exploring this CRM.
    I'm trying to understand the vardefs.php file in Contact Module.
    I didn't find the "last_name" and "first_name" field definition : where this two fields are defined in vardefs?
    is Contact Module extension of Users module so this fields are inherited?

    Thank you in advance for any reply.
    Basically Sugar pulls it's fields from different sources and make it final vardefs that sits in cache/modules/mod_name/mod_nameVardefs.php

    here are sources of vardef

    1) Package type ( it can be person , company ,sale , file, basic ,issue)
    2) main vardefs.php ( sits in modules/mod_name/vardefs.php
    3) Extesnion framework ( custom/Extension/modules/mod_name/Ext/Vardefs/*.php
    4) Studio fields ( ending to "_c").

  4. #4
    denebola75 Guest

    Default Re: Contact module : field "last_name" in vardefs ?

    Thank you in advance for your reply.

    S.

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: 2013-08-08, 10:18 AM
  2. Replies: 0
    Last Post: 2013-08-08, 10:16 AM
  3. Importing Data - last_name field required
    By jasonadmin in forum Help
    Replies: 1
    Last Post: 2009-08-18, 01:38 AM
  4. Replies: 1
    Last Post: 2009-06-15, 12:53 PM
  5. Replies: 0
    Last Post: 2008-10-01, 04:26 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
  •