-
-
Save JimMackin/468af5db284c2747c7e3 to your computer and use it in GitHub Desktop.
SuiteCRM Colour Picker Studio Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('modules/DynamicFields/templates/Fields/TemplateField.php'); | |
class TemplateColourPicker extends TemplateField{ | |
var $type='ColourPicker'; | |
function get_field_def(){ | |
$def = parent::get_field_def(); | |
$def['dbType'] = 'varchar'; | |
return $def; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment