Color Scheme

Color Scheme

Key

Default

Description

id

unique

an unique id - use nice name

type

radio

type of option

title

null

title of field

desc

null

decription of field. this is showing below title. can be used html

help

null

help tooltip of field

class

null

extra class of field.

wrap_class

null

extra class of field wrapper

dependency

null

dependency for showing and hiding fields see an example

before

null

extra text for field before area

after

null

extra text for field after area

name

null

name of field

debug

null

showing all config information

debug_light

null

showing some config information

attirbutes

array

attributes of field. supporting only html standard attributes see an example

sanitize

checkbox

sanitize of field. can be enabled or disabled

validate

null

validate of field. can be enabled or disabled

multilang

false

multilangual support of field

show_only_lang

null

multilangual support for language keys eg. ‘en’ or ‘tr’ or ‘es’

Extra Key

options

array

options of radios

Demo

array(
       'id' => 'unique_color_scheme',
       'title' => 'Color Scheme',
       'type' => 'color_scheme',
       'options' => array(
           'Cool White' => array('222','333','0073aa','#00a0d2 '),
           'Blue Red' => array('e5e5e5','999','d64e07','04a4cc'),
           'Blue White' => array('e5e5e5','999','d64e07','04a4cc','222','333'),
           'Cool White1' => array('222','333','0073aa','#00a0d2 '),
           'Blue Red1' => array('e5e5e5','999','d64e07','04a4cc'),
           'Blue White1' => array('e5e5e5','999','d64e07','04a4cc','222','333'),
       )
   ),

Last updated