Category: PHP

SugarCRM Change the currency symbol.

In config.php,   'default_currency_symbol' => '₹',  

September 29, 2018 0

SugarCRM js or jquery get current user date format and write back to crm.

for example get 'start_date_time_date_c_date' and add days after write added date to SugarCRM  

September 29, 2018 0

SugarCRM Disable fields from Quotes Add product

style='display:none'   write this tag which line u want to hide. for Quotes e.g.: modules/Quotes/tpls/Editviewfooter.tpl  

September 29, 2018 0

SugarCRM change default alert e-mail subject


September 29, 2018 0

Sugarcrm check sql query error

echo mysql_errno($link) . ": " . mysql_error($link) . "\n";

September 29, 2018 0

SugarCRM alert record ID without id


September 29, 2018 0

SugarCRM editview and quick create with out logichook

copy custom\modules\Opportunities\views\view.edit.php or detail.php it will auto increment number AND ONE HTML VIEW FOR CHECK BOX AND GET VALUE <?php ini_set("display_errors",0); if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); require_once('include/MVC/View/views/view.edit.php'); class OpportunitiesViewEdit extends ViewEdit {   function OpportunitiesViewEdit(){   parent::ViewEdit();   $this->useForSubpanel = true;   }    function display() { global $db; global $current_user; $this->ev->process();…
Read more

August 2, 2018 0

set recursive permission to all file and folder from current directory of file.

****note:  if you have set wrong permission in cpanel and want set permission but no access for php and ssh then   go to cpanel home and in cron job:   set line like :   chmod -R 755 $(find /user/home/public_html/crm/ -type d)  <= d means directory  

July 29, 2018 0

create HTML calculator and open with button, get value to parent window from popup

create js file calc.html:   add new button : paste below code where put the button first include like below   put this code below label where to want to add a new button:  

June 1, 2018 0

SugarCRM Create pdf report

include file:

May 29, 2018 0