mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
ENHANCEMENT: Added gravatar size to the configuration options
This commit is contained in:
parent
b961b16910
commit
255d961b09
@ -26,7 +26,8 @@ class Commenting {
|
|||||||
'require_login' => false, // boolean, whether a user needs to login
|
'require_login' => false, // boolean, whether a user needs to login
|
||||||
'required_permission' => false, // required permission to comment (or array of permissions)
|
'required_permission' => false, // required permission to comment (or array of permissions)
|
||||||
'use_ajax_commenting' => true, // use ajax to post comments.
|
'use_ajax_commenting' => true, // use ajax to post comments.
|
||||||
'use_gravatar' => false, // set to true to show gravatar icons
|
'use_gravatar' => false, // set to true to show gravatar icons,
|
||||||
|
'gravatar_size' => 80, // size of gravatar in pixels. This is the same as the standard default
|
||||||
'show_comments_when_disabled' => false, // when comments are disabled should we show older comments (if available)
|
'show_comments_when_disabled' => false, // when comments are disabled should we show older comments (if available)
|
||||||
'order_comments_by' => "\"Created\" DESC",
|
'order_comments_by' => "\"Created\" DESC",
|
||||||
'comments_per_page' => 10,
|
'comments_per_page' => 10,
|
||||||
|
Loading…
Reference in New Issue
Block a user