Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

craftplugins/utensils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

23 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

Important

This plugin is no longer maintained.

Craft Utensils

A plugin for Craft CMS that extends the functionality of Twig.

The goal of this project is to deliver helpful templating functionality in a single plugin.

Installation

  1. Copy the utensils/ folder into craft/plugins/
  2. Go to Settings ā†’ Plugins and click the ā€œInstallā€ button next to ā€œUtensilsā€

Usage

Thereā€™s far too much to document on a single page. Have a look at the Functions, Filters, and Tags documentation for more.

{% unless currentUser.admin %}
  {% redirect 'login' %}
{% endunless %}

Thereā€™s {{ entries|length }} {{ 'entry' | pluralize(entries|length) }}!

<div class="bg-img-{{ asset.id | md5 }}"></div>

{{ gist(bb45340bc4eda4c7d932, 'general.php') }}

{{ craft.request.segment(4) | humanize }}

About

šŸŒ± A plugin for Craft CMS that extends the functionality of Twig.

Topics

Resources

License

Stars

Watchers

Forks

Languages