Skip to content

Instantly share code, notes, and snippets.

View rajeshvaya's full-sized avatar

Rajesh Vaya rajeshvaya

View GitHub Profile
@rajeshvaya
rajeshvaya / README.md
Created January 26, 2017 06:43 — forked from Sumbera/README.md
Many points with Leaflet WebGL

Leaflet and WebGL sample rendering 80T points for more info read blog post

inspired by this and by very nice WebGL tutorial here

@rajeshvaya
rajeshvaya / SugarCRM Cheat Sheet.md
Last active October 24, 2018 18:45 — forked from spinegar/Joe_______'s SugarCRM Cheat Sheet
Joe_______'s SugarCRM Cheat Sheet

Sugarwiki

Adding a Field to the Modules Subpanel, Popup Search definitions

  • Code way:
1.      Use metadata/popupdefs.php (custom folder, if there is none copy original)
2.      Seek section searchdefs'   => array(…)
3.      Add field to searchdefs
  • Studio way:
Add a Custom Field to a SugarCRM Module and execute custom PHP code in that field on the DetailView.
Is a 2 step process.
1) Have to modify the detailviewdefs.php file and add a CustomCode to your field in this file...
/custom/modules/<MODULE-NAME_FOLDER>/metadata/detailviewdefs.php
set a variable in a customCode key/value like this...
'customCode' => '{$STATUS}',