Skip to content

Instantly share code, notes, and snippets.

View bickart's full-sized avatar

Jeff Bickart bickart

View GitHub Profile
<?php
$dictionary["MyModule"] = [
"table" => "mymodule",
"audited" => true,
"fields" => [
// Core module fields would follow here...
],
"indices" => [
// Core module indexes would follow here...
hello world
<?php
$dictionary['MyModule'] = [
'table' => 'mymodule',
'audited' => true,
'fields' => [
// Core module fields would follow here...
],
'indices' => [
// Core module indexes would follow here...
<?php
$dictionary['MyModule'] = [
'table' => 'mymodule',
'audited' => true,
'fields' => [
// Core module fields would follow here...
],
'indices' => [
// Core module indexes would follow here...
@bickart
bickart / amaiza.svg
Last active June 27, 2026 18:40
amaiza.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bickart
bickart / .gitignore
Created March 25, 2022 16:51
Sugar 12 git ignore
/*.log
/*.php
/*.json
/*.swp
/*.xml
**/.DS_Store
/LICENSE
/pdf.php
/image.php
/install/
@bickart
bickart / update_via_csv.php
Last active January 28, 2016 13:20
Place this file and your CSV file into the root of your SugarCRM install and you can update data in SugarCRM from a CSV on the command line
<?php
//Use an unlimited amount of memory, we probably shouldn't do this but that is how I roll
ini_set('memory_limit', '-1');
//Our program allows us to skip over rows in the data file and only load a sub-set of rows
if (count($argv) < 3 || ! is_numeric($argv[1]) || ! is_numeric($argv[2])) {
echo "Usage php -f $argv[0] skip max" . PHP_EOL;
echo " skip - number of rows to skip when processing" . PHP_EOL;
echo " max - number of rows to import when processing" . PHP_EOL;
@bickart
bickart / repair.php
Created April 26, 2013 15:29
How to perform a SugarCRM Quick Repair and Rebuild from the line
#!/usr/bin/php
<?php
/*
* Copyright 2013
* Jeff Bickart
* @bickart
* jeff @ neposystems.com
*/
@bickart
bickart / followme.html
Created April 10, 2013 20:14
SugarCON
<img src="https://nepo.box.com/shared/static/d3wqfhyoaizu8146vlyc.png" />
<h3>Twitter: @bickart</h3>
<h3>Twitter: @bickart</h3>
@bickart
bickart / custom_index.php
Last active October 9, 2015 11:58
SugarCRM Extension to added a Custom Index
<?php
/*
* Created on Aug 27, 2012
*
* Jeff Bickart
* @bickart
* NEPO Systems, LLC
*
* custom/Extension/application/Ext/TableDictionary/custom_indexes.php
*/