2017 © Pedro Peláez
 

library comment

A simple placeholder widget for OctoberCMS.

image

owl/comment

A simple placeholder widget for OctoberCMS.

  • Thursday, April 9, 2015
  • by scottbedard
  • Repository
  • 1 Watchers
  • 1 Stars
  • 333 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Comment

A simple placeholder widget for OctoberCMS., (*1)

Packagist, (*2)

Installation

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

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

Next, register the widget in your plugin's Plugin.php file., (*4)

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., (*5)

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.

The Versions

09/04 2015

dev-master

9999999-dev http://github.com/october-widgets

A simple placeholder widget for OctoberCMS.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Scott Bedard

owl october october cms comment