2017 © Pedro Peláez
 

craft-plugin craft-checkboxfield

Checkbox Field plugin for Craft CMS

image

carlcs/craft-checkboxfield

Checkbox Field plugin for Craft CMS

  • Tuesday, February 2, 2016
  • by carlcs
  • Repository
  • 1 Watchers
  • 6 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Checkbox Field plugin for Craft CMS

Checkbox Field Type, (*1)

This plugin provides a field type that looks exactly like Craft's default [Checkboxes field][1], but stores a boolean value to the database (similar to the Lightswitch field), so you can use a custom field parameter in your ElementCriteriaModel., (*2)

Installation

To install the plugin, copy the checkboxfield/ folder into craft/plugins/. Then go to Settings → Plugins and click the "Install" button next to "Checkbox Field"., (*3)

Usage

Custom field parameter usage:, (*4)

{% set entries = craft.entries.myCheckbox(1).myOtherCheckbox(0) %}

Field Type Settings

Uncheck "Show field name and instructions" to hide the field's name and it's instructions. This also removes the top margin, to make multiple Checkbox fields look like Craft's default Checkboxes field with multiple options., (*5)

The Versions

02/02 2016

dev-master

9999999-dev

Checkbox Field plugin for Craft CMS

  Sources   Download

The Requires

 

02/02 2016

v1.0.1

1.0.1.0

Checkbox Field plugin for Craft CMS

  Sources   Download

The Requires