carlcs/craft-controlleractionfield

There is no license information available for the latest version (v1.0.0) of this package.

Controller Action Field plugin for Craft CMS

v1.0.0 2016-02-08 23:04 UTC

This package is auto-updated.

Last update: 2024-04-20 03:47:41 UTC


README

The plugin provides a button field type to trigger controller actions.

Installation

To install the plugin, copy the controlleractionfield/ folder into craft/plugins/. Then go to Settings → Plugins and click the "Install" button next to "Controller Action Field".

Example Settings

Action Path:

cacheMonster/warmByKeys

POST Data:

{% set data = {
    cacheKeys: ['rest-1', 'rest-2', 'rest-3']
} %}