owl/comment

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple placeholder widget for OctoberCMS.

dev-master / 1.0.x-dev 2015-04-09 16:09 UTC

This package is auto-updated.

Last update: 2021-09-27 11:55:32 UTC


README

A simple placeholder widget for OctoberCMS.

Packagist

Installation

To install the Comment widget, add the following to your plugin's composer.json file.

"require": {
    "owl/comment": "~1.0@dev"
}

Next, register the widget in your plugin's Plugin.php file.

public function registerFormWidgets()
{
    return [
        'Owl\FormWidgets\Comment\Widget' => [
            'label' => 'Comment',
            'code'  => 'owl-comment'
        ],
    ];
}

Usage

The comment widget serves no form function, it exists solely to place extra text in your form.

comment:
    type: owl-comment
    label: Hello world
    comment: >
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla porttitor
        imperdiet elit, sed pellentesque eros. Morbi blandit elit a turpis
        pellentesque tincidunt.