[9.0.11] disparition du menu

This commit is contained in:
fredtempez 2019-03-24 14:22:19 +01:00
parent 9024a57594
commit eb98ffdc16
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class common {
const GROUP_ADMIN = 3;
// Numéro de version stable
const ZWII_VERSION = '9.0.10';
const ZWII_VERSION = '9.0.11';
public static $actions = [];
public static $coreModuleIds = [

View File

@ -334,7 +334,9 @@ class theme extends common {
'imageContainer' => $this->getInput('themeHeaderImageContainer')
]]);
// Modification de la position du menu selon la position de la bannière
switch ($this->getInput('themeHeaderPosition')) {
switch ($this->getInput('themeHeaderPosition') &&
$this->getData(['theme','menu','position']) !== 'site' &&
$this->getData(['theme','menu','position']) !== 'top' ) {
case 'site' :
$position = str_replace ('body','site',$this->getData(['theme','menu','position']));
break;