Documentation · ViewHelper reference

Wizard / ColorPickerViewHelper

Field Wizard: Color Picker

  • Tag usage example

    <flux:wizard.colorPicker label="'Choose color'" hideParent="1" variables="{foo: 'bar'}" dim="'20x20'" width="123" height="123" exampleImg="'EXT:flux/Resources/Public/Icons/ColorWheel.png'">
    	<!-- tag content - may be ignored! -->
    </flux:wizard.colorPicker>
  • Inline usage example

    {flux:wizard.colorPicker(label: ''Choose color'', hideParent: 1, variables: {foo: 'bar'}, dim: ''20x20'', width: 123, height: 123, exampleImg: ''EXT:flux/Resources/Public/Icons/ColorWheel.png'')}

Arguments

Argument Description Type
dim

Dimensions (WxH, e.g. 20x20) of color picker

string
exampleImg

Example image from which to pick colors

string
height

height of the popup window

integer
hideParent

If TRUE, hides the parent field

boolean
label

Optional title of this Wizard

string
variables

Freestyle variables which become assigned to the resulting Component - can then be read from that Component outside this Fluid template and in other templates using the Form object from this template

array
width

Width of the popup window

integer
Required attribute

Revision history

commit 3390bd05f546bccfc9ca5cb012d291f7bdd63512
Author: Claus Due <*****@namelesscoder.net>
Date:   Mon Dec 2 23:26:43 2013 +0100

    [TASK] Rename ViewHelpers
    
    Renames:
    
    flux:flexform -> flux:form
    flux:flexform.field.* -> flux:field.*
    flux:flexform.field.wizard -> flux:wizard.*
    flux:flexform.* -> flux:form.*

commit 3878c943a6eb0924bb6db2e5ed8461580896431f
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 10 01:59:34 2013 +0100

    [TASK] Update copyright and author tags
    
    Assumes "Claus Due" as author whenever no author is specified.

commit 8bf2b5beb89c7d72a41230f152d9a5a3d308ba84
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:11:00 2013 +0100

    [TASK] Happy new year!