Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin ![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
type="popup" attribute requires TWiki-6.0.2 or later.
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>This will show an HTML input field named "text_color" and a color picker tied to it.
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> Installation InstructionsThis plugin is pre-installed. TWiki administrators can upgrade the plugin as needed on the TWiki server.<--/twistyPlugin twikiMakeVisibleInline-->
<--/twistyPlugin--> Plugin Info
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
<--/twistyPlugin twikiMakeVisibleInline--> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
<--/twistyPlugin-->VarCOLORPICKER, TWikiPreferences, TWikiForms, TWikiPlugins
|
Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin | |||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||
< < | |||||||||||||||||||||||||||||||||||
> > | |||||||||||||||||||||||||||||||||||
Page contents
![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
| |||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
Example form definition: | |||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||
> > | Note: The type="popup" attribute requires TWiki-6.0.2 or later. | ||||||||||||||||||||||||||||||||||
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>This will show an HTML input field named "text_color" and a color picker tied to it.
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> Installation InstructionsThis plugin is pre-installed. TWiki administrators can upgrade the plugin as needed on the TWiki server.<--/twistyPlugin twikiMakeVisibleInline-->
<--/twistyPlugin--> Plugin Info
| |||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
<--/twistyPlugin twikiMakeVisibleInline--> | |||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||
<--/twistyPlugin-->VarCOLORPICKER, TWikiPreferences, TWikiForms, TWikiPlugins
|
Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin ![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>This will show an HTML input field named "text_color" and a color picker tied to it.
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> Installation Instructions | |||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||
< < | Note: You do not need to install anything on the browser to use this extension. The following instructions are for the administrator who installs the extension on the TWiki server. | ||||||||||||||||||||||||||||||||||||||||||||||||||
> > | This plugin is pre-installed. TWiki administrators can upgrade the plugin as needed on the TWiki server. | ||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||
> > | <--/twistyPlugin twikiMakeVisibleInline--> | ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||
> > | <--/twistyPlugin--> | ||||||||||||||||||||||||||||||||||||||||||||||||||
Plugin Info
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||
> > | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||
> > | mode="div"
showlink="Show Change History http://twiki.oats.inaf.it/twiki/pub/TWiki/TWikiDocGraphics/toggleopen.gif"
hidelink="Hide Change History http://twiki.oats.inaf.it/twiki/pub/TWiki/TWikiDocGraphics/toggleclose.gif"
}%
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||
> > | </> <--/twistyPlugin--> | ||||||||||||||||||||||||||||||||||||||||||||||||||
VarCOLORPICKER, TWikiPreferences, TWikiForms, TWikiPlugins
|
Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin ![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form> | |||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||
< < | This will show an HTML input field named "text_color" and a color picker tied to it. The size , value and class parameters are optional. Additional parameters can be supplied; they will be added to the HTML input field. | ||||||||||||||||||||||||||||||||
> > | This will show an HTML input field named "text_color" and a color picker tied to it. | ||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||
Test: (this only works if the ColorPickerPlugin is installed and enabled)
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> Installation InstructionsNote: You do not need to install anything on the browser to use this extension. The following instructions are for the administrator who installs the extension on the TWiki server.
Plugin Info
| |||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||
< < | Related Topics: TWikiPreferences, TWikiForms, TWikiPlugins | ||||||||||||||||||||||||||||||||
> > | Related Topics: VarCOLORPICKER, TWikiPreferences, TWikiForms, TWikiPlugins | ||||||||||||||||||||||||||||||||
|
Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin ![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
Example form definition:
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>This will show an HTML input field named "text_color" and a color picker tied to it. The size , value and class parameters are optional. Additional parameters can be supplied; they will be added to the HTML input field.
Test: (this only works if the ColorPickerPlugin is installed and enabled)
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> | |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | Detailed DocumentationThis package includes a small Perl module to make it easier to use the color picker from other TWiki plugins. This module includes the functions:addHEADTWiki::Plugins::ColorPickerPlugin::addHEAD( )addHEAD needs to be called before TWiki::Plugins::ColorPickerPlugin::renderForEdit
is called.
renderForEditTWiki::Plugins::ColorPickerPlugin::renderForEdit($name, $value, [, \%options]) -> $html | ||||||||||||||||||
Installation Instructions | |||||||||||||||||||
Changed: | |||||||||||||||||||
< < | You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running. | ||||||||||||||||||
> > | Note: You do not need to install anything on the browser to use this extension. The following instructions are for the administrator who installs the extension on the TWiki server. | ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | Like many other TWiki extensions, this module is shipped with a fully | ||||||||||||||||||
> > |
| ||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | automatic installer script written using the BuildContrib.
| ||||||||||||||||||
| |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < |
| ||||||||||||||||||
Changed: | |||||||||||||||||||
< < | |||||||||||||||||||
> > |
| ||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
Added: | |||||||||||||||||||
> > | |||||||||||||||||||
Plugin Info
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
|
Color Picker Plugin<-- Contributions to this plugin package are appreciated. Please update this page at http://twiki.org/cgi-bin/view/Plugins/ColorPickerPlugin ![]() IntroductionThis TWiki plugin packages the Farbtastic color picker![]() Using the color picker in TWikiFormsThis package adds acolor type to TWikiForms:
Using the color picker in an HTML formYou can also use the color picker directly in your HTML forms, without having to write any code. Just include this in the topic text:<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>This will show an HTML input field named "text_color" and a color picker tied to it. The size , value and class parameters are optional. Additional parameters can be supplied; they will be added to the HTML input field.
Test: (this only works if the ColorPickerPlugin is installed and enabled)
Using the color picker with disabled pluginIt is also possible to use the color picker in HTML forms with disabled ColorPickerPlugin:%INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="code" }% <form action="..."> %INCLUDE{ "%SYSTEMWEB%.ColorPickerPlugin" section="picker" NAME="demo_color" SIZE="12" VALUE="#123456" EXTRA="class=\"twikiInputField\"" }% </form>This will show an HTML input field named "demo_color" and a color picker tied to it. The "code" section should be included once per topic, the "picker" section can be included as many times as needed. The NAME parameter is required; SIZE , VALUE and EXTRA parameters are optional. Use the EXTRA parameter to add additional parameters to the HTML input field.
Test: (this works only if the ColorPickerPlugin is installed and disabled)
<-- --> Detailed DocumentationThis package includes a small Perl module to make it easier to use the color picker from other TWiki plugins. This module includes the functions:addHEADTWiki::Plugins::ColorPickerPlugin::addHEAD( )addHEAD needs to be called before TWiki::Plugins::ColorPickerPlugin::renderForEdit
is called.
renderForEditTWiki::Plugins::ColorPickerPlugin::renderForEdit($name, $value, [, \%options]) -> $htmlInstallation InstructionsYou do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running. Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
Plugin Info
|