You are here

README.txt in Jquery Colorpicker 7

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 8 README.txt
  3. 6 README.txt
The Drupal 7 branch of Jquery Colorpicker offers a form element than can be
included in any form in this way:

<?php
$form['element'] = array(
  '#type' => 'jquery_colorpicker',
  '#title' => t('Color'),
  '#default_value' => 'FFFFFF',
);
?>

This module includes Field API integration. A colorpicker field can be added to
any content type with the JQuery Colorpicker widget

==================
Installation guide
=================
 1.- Install http://drupal.org/project/libraries
 2.- Install the module as you would any other Drupal module
 3.- Go to www.eyecon.ro/colorpicker/ and download colorpicker.zip.
      The library can also be found at https://github.com/jaypan/jquery_colorpicker
 4.- Extract the the zip file content to the colorpicker folder in your
     libraries folder.
 5.- If you have extracted the contents right, the following filepath should
     exist: [path to libraries folder]/colorpicker/js/colorpicker.js
 6.- Enjoy your colors!!

File

README.txt
View source
  1. The Drupal 7 branch of Jquery Colorpicker offers a form element than can be
  2. included in any form in this way:
  3. $form['element'] = array(
  4. '#type' => 'jquery_colorpicker',
  5. '#title' => t('Color'),
  6. '#default_value' => 'FFFFFF',
  7. );
  8. ?>
  9. This module includes Field API integration. A colorpicker field can be added to
  10. any content type with the JQuery Colorpicker widget
  11. ==================
  12. Installation guide
  13. =================
  14. 1.- Install http://drupal.org/project/libraries
  15. 2.- Install the module as you would any other Drupal module
  16. 3.- Go to www.eyecon.ro/colorpicker/ and download colorpicker.zip.
  17. The library can also be found at https://github.com/jaypan/jquery_colorpicker
  18. 4.- Extract the the zip file content to the colorpicker folder in your
  19. libraries folder.
  20. 5.- If you have extracted the contents right, the following filepath should
  21. exist: [path to libraries folder]/colorpicker/js/colorpicker.js
  22. 6.- Enjoy your colors!!