mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 09:05:49 +00:00
ENHANCEMENT: Add comment form position with default value of 'before' (to mimic current behaviour)
This commit is contained in:
parent
cf8368daf0
commit
13a6bbd560
@ -23,6 +23,7 @@ class Commenting {
|
|||||||
* @var array default configuration values
|
* @var array default configuration values
|
||||||
*/
|
*/
|
||||||
private static $default_config = array(
|
private static $default_config = array(
|
||||||
|
'comment_form_position' => 'before', // position of the comment form with respect to the comments. Set to 'before' or 'after'
|
||||||
'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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user