dev-master
9999999-dev http://github.com/october-widgetsA simple placeholder widget for OctoberCMS.
MIT
The Requires
- php >=5.4.0
by Scott Bedard
owl october october cms comment
Wallogit.com
2017 © Pedro Peláez
A simple placeholder widget for OctoberCMS.
A simple placeholder widget for OctoberCMS., (*1)
, (*2)
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'
],
];
}
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.
A simple placeholder widget for OctoberCMS.
MIT
owl october october cms comment