From c7bf3a36cf6c41f7ebae42b1ed48affadfac032d Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 15 Mar 2021 17:32:41 +0100 Subject: [PATCH] blog edit button fix defautl data --- core/module/install/ressource/defaultdata.php | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 1993a80c..198c2725 100755 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -677,7 +677,13 @@ class init extends common { 'publishedOn' => 1548790902, 'state' => true, 'title' => 'Mon premier article', - 'userId' => '' // Géré au moment de l'installation + 'userId' => '', // Géré au moment de l'installation + 'editConsent' => 'all', + 'commentMaxlength' => '500', + 'commentApproved' => false, + 'commentClose' => false, + 'commentNotification' => false, + 'commentGroupNotification' => 1 ], 'mon-deuxieme-article' => [ 'closeComment' => false, @@ -689,7 +695,13 @@ class init extends common { 'publishedOn' => 1550432502, 'state' => true, 'title' => 'Mon deuxième article', - 'userId' => '' // Géré au moment de l'installation + 'userId' => '', // Géré au moment de l'installation + 'editConsent' => 'all', + 'commentMaxlength' => '500', + 'commentApproved' => false, + 'commentClose' => false, + 'commentNotification' => false, + 'commentGroupNotification' => 1 ], 'mon-troisieme-article' => [ 'closeComment' => true, @@ -701,7 +713,13 @@ class init extends common { 'publishedOn' => 1550864502, 'state' => true, 'title' => 'Mon troisième article', - 'userId' => '' // Géré au moment de l'installation + 'userId' => '', // Géré au moment de l'installation + 'editConsent' => 'all', + 'commentMaxlength' => '500', + 'commentApproved' => false, + 'commentClose' => false, + 'commentNotification' => false, + 'commentGroupNotification' => 1 ], ], ],