Author: Philipp Frenzel philipp@frenzel.net
cm comments module adds the possibility to add comments to a random model within a view. this is still under heavy development, so pls. don't use in production yet!
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist frenzelgmbh/cm-comments "*"
or add
"frenzelgmbh/cm-comments": "*"
to the require section of your composer.json
file.
'modules' => [
'comment' => [
'class' => 'net\frenzel\comment\Module'
]
]
php yii migrate --migrationPath=@net/frenzel/comment/migrations
<?= \net\frenzel\comment\views\widgets\Comments::widget(['model'=>$model]); ?>
Comments