mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 09:05:49 +00:00
ENHANCEMENT: Pass the form position configuration to the template
This commit is contained in:
parent
13a6bbd560
commit
3d4796a411
@ -130,6 +130,7 @@ class CommentsExtension extends DataExtension {
|
||||
'CommentHolderID' => Commenting::get_config_value($this->ownerBaseClass, 'comments_holder_id'),
|
||||
'PostingRequiresPermission' => Commenting::get_config_value($this->ownerBaseClass, 'required_permission'),
|
||||
'CanPost' => Commenting::can_member_post($this->ownerBaseClass),
|
||||
'FormPosition' => Commenting::get_config_value($this->ownerBaseClass, 'comment_form_position'),
|
||||
'RssLink' => "CommentingController/rss",
|
||||
'RssLinkPage' => "CommentingController/rss/". $this->ownerBaseClass . '/'.$this->owner->ID,
|
||||
'CommentsEnabled' => $enabled,
|
||||
|
Loading…
x
Reference in New Issue
Block a user