RockColorPicker by bernhard

Main RockColorPicker Module

RockColorPicker

Super simple color (and custom HTML) picker for ProcessWire:

68747470733a2f2f692e696d6775722e636f6d2f3730314a6a39432e706e67

Please see the docs at https://www.baumrock.com/en/processwire/modules/rockcolorpicker/docs/

Why is there no GUI for setup?


Building a GUI for this field would be extremely hard because we need a connection between the color name, css-code and the label.

The label might also be multi-language, and having a regular multilang textarea with language tabs would mean that we'd have to repeat all the colors for every language and also repeat all the css-codes. That's less than ideal so I chose to go with a code-only fieldtype so that one can setup colors once and then translate labels if need be.

A hook-based setup also has the benefit that you can create dynamic color-selection fields, for example having a primary and secondary color based on the client's settings or such.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #549
    In the 549th issue of ProcessWire Weekly we’re going to check out the latest core updates, highlight one older yet still very relevant third party module, and more. Read on!
    Weekly.pw / 17 November 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani