Craft Color Swatches Save

Project README

Color Swatches plugin for Craft CMS

Choose a color from a selection of admin defined colors

Screenshot

Installation

To install Color Swatches, follow these steps:

  1. Download & unzip the file and place the colorswatches directory into your craft/plugins directory
  2. Install plugin in the Craft Control Panel under Settings > Plugins
  3. The plugin folder should be named colorswatches for Craft to see it. GitHub recently started appending -master (the branch name) to the name of the folder for zip file downloads.

Color Swatches works on Craft 2.4.x and Craft 2.5.x.

Color Swatches Overview

Instead of providing a user a full color picker, Color Swatches gives an admin the ability to provide a selection of colors for a user to choose from.

Configuring Color Swatches

Create a Color Swatches field and provide label and hex value options.

Screenshot

Using Color Swatches

You can access both the label and color in your template. By default, the label will display:

{{ fieldName }}
{{ fieldName.label }}
{{ fieldName.color }}
Open Source Agenda is not affiliated with "Craft Color Swatches" Project. README Source: vigetlabs/craft-color-swatches
Stars
27
Open Issues
3
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating