Results 1 to 2 of 2

Thread: vardefs.php versus vardefs.ext.php

  1. #1
    helpwithasmile is offline Junior Member
    Join Date
    Sep 2007
    Posts
    4

    Default vardefs.php versus vardefs.ext.php

    What is the fundamental difference between the .php files found in custom, and the .ext.php files?

    It seems like the .ext.php files are generated by Sugar, but even after I change the vardefs.php file, the corresponding .ext.php file seems to revert to an old version of a custom vardefs which is no longer valid- I have cleared all of the caches, so I am not sure why these old lines of code keep coming back.

    Is there somebody who could clarify?

  2. #2
    cjohnston is offline Sugar Community Member
    Join Date
    Apr 2007
    Location
    Dover, NH
    Posts
    50

    Default Re: vardefs.php versus vardefs.ext.php

    the vardefs.ext.php file under the custom directory is where you want to make changes in order to not impact the core logic which could be overwritten when you update SugarCRM. If it is a core module which you are creating a varfeds file for, then you need to place a file system lock on the the vardefs.ext.php file or else the system will delete it.

    http://www.sugarcrm.com/forums/showthread.php?t=29238

    http://www.sugarcrm.com/wiki/index.php?title=Vardefs

    I hope this helps

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Troubles with vardefs.php
    By markoa in forum Developer Help
    Replies: 9
    Last Post: 2008-03-14, 04:13 AM
  2. Problem with default value in vardefs.php
    By jobst in forum Developer Help
    Replies: 8
    Last Post: 2007-11-20, 06:09 PM
  3. [HELP]definition type=relate Vardefs.php
    By somaggio in forum Help
    Replies: 1
    Last Post: 2006-11-25, 01:53 AM
  4. Corrupted vardefs.php file?
    By aamirrez in forum Developer Help
    Replies: 0
    Last Post: 2006-09-12, 03:40 PM
  5. Problem With the Prospects vardefs.php?
    By Albert1 in forum Developer Help
    Replies: 0
    Last Post: 2006-04-05, 01:28 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
  •