Hi
I modified modules/Accounts/Account.php for doing some customizations. But this files gets overwritten while
upgrading to a newer version of sugarcrm. How can I make this file upgrade safe. Please help me.
Thanks
Prajeesh
Hi
I modified modules/Accounts/Account.php for doing some customizations. But this files gets overwritten while
upgrading to a newer version of sugarcrm. How can I make this file upgrade safe. Please help me.
Thanks
Prajeesh
You should store your customised account.php in custom/modules/accounts
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
Hi salesagility,
I had tried this . But code inside modules/Account/Account.php was stil getting called instead of custom/modules/Account/Account.php.
Thanks,
Prajeesh
Last edited by prajeesh; 2009-09-07 at 12:37 PM.
What is that you changed in Accounts.php? ... what were you trying to do?
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
Hi
Basically I wanted to modify the save() function of SugarBean.php and DyanmicField.php for the module 'Account' . So To do those changes I created AccountSugarBean.php and AccountDynamicField.php and then I modified Account.php to use these classes instead of SugarBean.php and DynamicField.php. But when we do the upgradation Account.php is getting overwitten As result Account.php will again point to SugarBean and DynamicField instead of AccountSugarBean and AccountDynamicField.
Thanking you for the effort.
Prajeesh
This is the nature of software I suppose.
In any case, you will have to reimplement your hacks after an upgrade.
Developers go here
Businesses go there (Dutch)
Modules:
SugarDev.net Developer Tools | Config | Dutch Language Pack
"Nothing gets fixed unless there is a bug"
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks