Other
NO
Creating a Color Picker Custom Field
['Posted On', 'David Mcreynolds']
FUEL CMS Blog
One of the bigger changes to FUEL CMS 1.0 is the ability to create your own custom field types.
Custom fields are setup similar to CodeIgniter hooks in that you create an array of file configuration information that maps to a certain field type.
The following are steps for creating a color picker field type and adding it as a layout field:Visit www.eyecon.ro/colorpicker/ and download the jQuery color picker plugin.
Place the contents of the downloaded js folder in a folder at assets/js/colorpicker .
'js' => array( 'mymodule' => array( 'colorpicker/colorpicker', 'colorpicker/eye', 'colorpicker/utils' ) The represents parameter is a way to map field characteristics to a field type.
['cms'
'array'
'parameter'
'picker'
'fuel'
'blog'
'color'
'function'
'creating'
'custom'
'js'
'type'
'field'
'file'
'class'
'folder']