All Projects → nystudio107 → Craft Emptycoalesce

nystudio107 / Craft Emptycoalesce

Licence: mit
Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty

Projects that are alternatives of or similar to Craft Emptycoalesce

Contact Form
Add a simple contact form to your Craft CMS site.
Stars: ✭ 294 (+1125%)
Mutual labels:  craftcms, craft-plugin, craft3
Geomate
GeoMate is a friend in need for all things geolocation. IP to geo lookup, automatic redirects (based on country, continent, language, etc), site switcher... You name it.
Stars: ✭ 19 (-20.83%)
Mutual labels:  craftcms, craft-plugin, craft3
snipcart-craft-plugin
Craft e-commerce in a day.
Stars: ✭ 20 (-16.67%)
Mutual labels:  craftcms, craft-plugin, craft3
dospaces
DigitalOcean Spaces integration for Craft CMS
Stars: ✭ 31 (+29.17%)
Mutual labels:  craftcms, craft-plugin, craft3
Craft3 Templateselect
A fieldtype that allows you to select a template from the site templates folder.
Stars: ✭ 18 (-25%)
Mutual labels:  craftcms, craft-plugin, craft3
seomate
SEO, mate! It's important. That's why SEOMate provides the tools you need to craft all the meta tags, sitemaps and JSON-LD microdata you need - in one highly configurable, open and friendly package - with a super-light footprint.
Stars: ✭ 31 (+29.17%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-recipe
A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support
Stars: ✭ 23 (-4.17%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-grid
A field that lets you content manage CSS Grid in Craft CMS.
Stars: ✭ 18 (-25%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-guide
A CMS Guide for Craft CMS.
Stars: ✭ 62 (+158.33%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-plugin-patrol
Patrol for Craft 3
Stars: ✭ 28 (+16.67%)
Mutual labels:  craftcms, craft-plugin, craft3
contact-form-honeypot
Add a honeypot captcha to your Craft CMS contact form.
Stars: ✭ 24 (+0%)
Mutual labels:  craftcms, craft-plugin, craft3
Element Api
Create a JSON API/Feed for your elements in Craft.
Stars: ✭ 493 (+1954.17%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-33.33%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-plugin-mix
Helper plugin for Laravel Mix in Craft CMS templates
Stars: ✭ 50 (+108.33%)
Mutual labels:  craftcms, craft-plugin, craft3
anchors
Add anchor links to headings in your Craft CMS website content.
Stars: ✭ 47 (+95.83%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-connect
Allows you to connect to external databases and perform db queries
Stars: ✭ 16 (-33.33%)
Mutual labels:  craftcms, craft-plugin, craft3
tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (+62.5%)
Mutual labels:  craftcms, craft-plugin, craft3
craft-typogrify
Typogrify prettifies your web typography by preventing ugly quotes and 'widows' and more
Stars: ✭ 70 (+191.67%)
Mutual labels:  craftcms, craft-plugin, craft3
query
Run SQL queries as an admin from the Craft CMS control panel.
Stars: ✭ 14 (-41.67%)
Mutual labels:  craftcms, craft-plugin, craft3
mailgun
Mailgun mailer adapter for Craft CMS.
Stars: ✭ 27 (+12.5%)
Mutual labels:  craftcms, craft-plugin, craft3

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Empty Coalesce plugin for Craft CMS 3.x

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require nystudio107/craft-emptycoalesce
    
  3. Install the plugin via ./craft install/plugin empty-coalesce via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Empty Coalesce.

You can also install Empty Coalesce via the Plugin Store in the Craft Control Panel.

Documentation

Click here -> Empty Coalesce Documentation

Empty Coalesce Roadmap

Some things to do, and ideas for potential features:

  • Submit a PR to the Twig project to get it into core

Brought to you by nystudio107

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].