From 9a694736f3a90a70f081ff2f97c62ac8e1c03eaf Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 18 Jan 2019 20:52:51 +0100 Subject: [PATCH] =?UTF-8?q?Configuration=20par=20d=C3=A9faut=20:=20ajout?= =?UTF-8?q?=20page=20gabarit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/core/core.php b/core/core.php index cb0b4076..54ea1a77 100644 --- a/core/core.php +++ b/core/core.php @@ -79,7 +79,7 @@ class common { 'group' => self::GROUP_VISITOR, 'targetBlank' => false, 'title' => 'Accueil', - 'blocks' => '100' + 'blocks' => '9-3' ], 'enfant' => [ 'typeMenu' => 'text', @@ -96,13 +96,12 @@ class common { 'group' => self::GROUP_VISITOR, 'targetBlank' => false, 'title' => 'Enfant', - 'blocks' => '100' + 'blocks' => '12' ], 'cachee' => [ 'typeMenu' => 'text', 'iconUrl' => '', 'disable' => false, - 'content' => "

Cette page n'est visible que par les membres de votre site !

\r\n
\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.

\r\n
\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.

\r\n
r\n
", 'hideTitle' => false, 'metaDescription' => '', @@ -114,8 +113,25 @@ class common { 'group' => self::GROUP_MEMBER, 'targetBlank' => false, 'title' => 'Cachée', - 'blocks' => '100' + 'blocks' => '12' ], + 'gabarit' => [ + 'typeMenu' => 'text', + 'iconUrl' => '', + 'disable' => false, + 'content' => "

Cette page est constituée d'un gabarit.

Plusieurs grilles sont disponibles dans les paramètres des pages.

La configuration des blocs de gauche et de droite s'effectue à l'aide de la fonction Edition des blocs dans la liste des pages.

", + 'hideTitle' => false, + 'metaDescription' => '', + 'metaTitle' => '', + 'moduleId' => '', + 'parentPageId' => '', + 'modulePosition' => 'bottom', + 'position' => 3, + 'group' => self::GROUP_VISITOR, + 'targetBlank' => false, + 'title' => 'Gabarit', + 'blocks' => '3-6-3' + ], 'blog' => [ 'typeMenu' => 'text', 'iconUrl' => '', @@ -124,14 +140,14 @@ class common { 'hideTitle' => false, 'metaDescription' => '', 'metaTitle' => '', - 'moduleId' => 'blog', + 'moduleId' => '', 'modulePosition' => 'bottom', 'parentPageId' => '', - 'position' => 3, + 'position' => 4, 'group' => self::GROUP_VISITOR, 'targetBlank' => false, 'title' => 'Blog', - 'blocks' => '100' + 'blocks' => '12' ], 'galeries' => [ 'typeMenu' => 'text', @@ -144,11 +160,11 @@ class common { 'moduleId' => 'gallery', 'modulePosition' => 'bottom', 'parentPageId' => '', - 'position' => 4, + 'position' => 5, 'group' => self::GROUP_VISITOR, 'targetBlank' => false, 'title' => 'Galeries', - 'blocks' => '100' + 'blocks' => '12' ], 'site-de-zwii' => [ 'typeMenu' => 'text', @@ -161,11 +177,11 @@ class common { 'moduleId' => 'redirection', 'modulePosition' => 'bottom', 'parentPageId' => '', - 'position' => 5, + 'position' => 6, 'group' => self::GROUP_VISITOR, 'targetBlank' => true, 'title' => 'Site de Zwii', - 'blocks' => '100' + 'blocks' => '12' ], 'contact' => [ 'typeMenu' => 'text', @@ -178,17 +194,17 @@ class common { 'moduleId' => 'form', 'modulePosition' => 'bottom', 'parentPageId' => '', - 'position' => 6, + 'position' => 7, 'group' => self::GROUP_VISITOR, 'targetBlank' => false, 'title' => 'Contact', - 'blocks' => '100' + 'blocks' => '12' ], 'blockRight' => [ 'typeMenu' => '', 'iconUrl' => '', 'disable' => false, - 'content' => '

Bloc à droite du site

', + 'content' => '

ZwiiCMS

', 'hideTitle' => false, 'metaDescription' => '', 'metaTitle' => '',