• [Revo] ColorPicker TV#

  • Ben Reply #1, 1 year ago

    Reply
    ColorPicker is a MODx TV inspired by ColorPickerField ExtJS Plugin found here : http://www.sencha.com/forum/showthread.php?73998-3.x-Ext.ux.ColorPickerField

    Site : http://www.omycode.fr/modx-extras/colorpicker.html
    Package : http://modx.com/extras/package/colorpicker
    Github : https://github.com/omycode/ColorPicker

    Installation
    Install via MODx Package Management !

    Usage
    Create a TV
    Select the colorpicker input type
    [optional] Select an output option (Hex, RGB, HSL)

    Futures improvements
    Add support of opacity
    Add TV output types : RGB, HSL, Hex
    Easier installation through modx package manager

    Screenshots


  • lossendae Reply #2, 1 year ago

    Reply
    I just bookmarked this topic so that i can make a package of your contribution.

    Thanks for your work!

    Edit: I just read your last sentence, and if you know your way out of the package builder, i will let you handle it. Just keep me informed in this thread.


  • Ben Reply #3, 1 year ago

    Reply
    I'm not familiar yet with the package building and i don't have much time now to deal with that. So if you can handle it, I'll appreciate of course ! Thanks.


  • Zuriel Reply #4, 8 months, 1 week ago

    Reply
    I just installed the color picker. Its great. Its a shame you haven't made this into a package.

    Its not very hard to make a package. (the correct way)

    You need to download Bob Ray's "My Component"

    its a predesigned package maker, where you drop in your files and refactor the names and setup basically your own package using his as a template.

    then when you get it the way you want you run it from the web and it builds the .zip file transport file and you can upload it to modX so its added to the package management.

    then if you do updates you do them to that mycompoenent setup and just up the version # +1 and reup to modX.

    How is this going? are you up to this challenge?

    one thing i'd like to see added is the ability to output it as RGB, HSL, or Hex, as well as opacity... a lot of CSS3 sites rely on RGB for alpha's which you can't do with hex...

    what do you think?


  • Ben Reply #5, 6 months ago

    Reply
    Finally !
    ColorPicker is now available as MODx package and can be easily installed directly from the MODx Package Management : http://modx.com/extras/package/colorpicker

    Thanks to Zuriel for the tip and to Bob Ray for his great tutorial : http://bobsguides.com/mycomponent-tutorial.html

    @Zuriel
    one thing i'd like to see added is the ability to output it as RGB, HSL, or Hex, as well as opacity... a lot of CSS3 sites rely on RGB for alpha's which you can't do with hex...

    what do you think?

    Good ideas. I'll work on it.


  • Zuriel Reply #6, 6 months ago

    Reply
    @Ben
    Sweet man! i've been basically copying your component from installation to installation every time i do a new modX and now I won't have to with a nice download from the package manager!
    glad you got MyComponent figured out, its great (like anything Bob Ray makes) and it will definitely
    help making updates to the online package easier.


  • Ben Reply #7, 5 months, 2 weeks ago

    Reply
    ColorPicker 1.0.1-rc2 released !

    This version add the support of output options : Hex, RGB, HSL in CSS or JSON.

    Example of CSS output => #FFFFFF or rgb(255,255,255) or hsl(1,1,1).
    Example of JSON output => {"FF","FF","FF"} or {255,255,255} or {1,1,1}



  • sushen Reply #8, 1 month ago

    Reply
    Great plugin, thank you
    It would be awesome if it also worked with properties. Do you plan anything for properties in the future ?