Download the PHP package skeeks/cms-comments without Composer
On this page you can find all versions of the php package skeeks/cms-comments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cms-comments
Comments
Installation
The preferred way to install this extension is through composer.
Either run
or add
- Run migrations
How to use (simple)
Configuration
-
In your config file
-
In you model [optional]
- Content element property update count comments
Usage
-
Widget namespace
-
Add comment widget in model view using (string) page key :
-
Or display comments using model name and id:
- Or display comments using model behavior:
Module Options
Use this options to configurate comments module:
-
userModel
- User model class name. -
maxNestedLevel
- Maximum allowed nested level for comment's replies. -
onlyRegistered
- Indicates whether not registered users can leave a comment. -
orderDirection
- Comments order direction. -
nestedOrderDirection
- Replies order direction. -
userAvatar
- The field for displaying user avatars.Is this field is NULL default avatar image will be displayed. Also it can specify path to image or use callable type.
If this property is specified as a callback, it should have the following signature:
function ($user_id)
For dev
SkeekS CMS (Yii2) — fast, simple, effective!
skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com