Skip to content

1.0.3 Release

Compare
Choose a tag to compare
@ihorchepurnyi ihorchepurnyi released this 03 Mar 11:36
· 149 commits to master since this release

Date: Thursday, March 3, 2016

  1. Update translation messages
  2. Add relatedTo property to Comment Widget

Now you can use widget with additional relatedTo info, by the following code:

<?php echo \yii2mod\comments\widgets\Comment::widget([
    'model' => $model,
    'relatedTo' => 'User ' . \Yii::$app->user->identity->username . ' commented on the page ' . \yii\helpers\Url::current() // for example
]); ?>

Note: A relatedTo column was added to Comments Management grid.