Commit 47ca5bed authored by ramiandrison gova's avatar ramiandrison gova
Browse files

clean costumize

parent 7ac44442
......@@ -147,8 +147,8 @@
},
"imgProfil":true,
"nameProfil":true,
"newspaper":true,
"newhome":true,
"newspaper":true,
"detail":true,
"gallery":true,
"community":true,
......
<?php
$costumizeJSON = file_get_contents("../../modules/costum/data/costumize.json", FILE_USE_INCLUDE_PATH);
$defaultsConf = file_get_contents("../../modules/costum/data/blockCms/config/defaultCostumize.json", FILE_USE_INCLUDE_PATH);
?>
<script>
var costumizeJson = JSON.parse(<?php echo json_encode($costumizeJSON) ?>);
var defaultConfig = JSON.parse(<?php echo json_encode($defaultsConf) ?>);
var hasCostumJson = false;
var defaultConfig = {
defaultConfig = {
slug : "costumize",
htmlConstruct : {
"header" : {
"menuTop" : {
"left" : {
"buttonList" : {
"logo" : {
"height" : "50"
},
"xsMenu" : {
"buttonList" : {
"app" : {
"label" : true,
"buttonList" : {}
}
}
},
"app" : {
"label" : true,
"icon" : true,
"class" : "hidden-xs line-height-3 padding-left-10",
"labelClass" : "padding-left-5",
"buttonList" : {}
}
}
}
}
},
"element" : {
"tplCss" : [
"v1.0_pageProfil.css"
],
"banner" : "co2.views.element.bannerHorizontal",
"containerClass" : {
"centralSection" : "col-xs-12 col-lg-10 col-lg-offset-1"
},
"menuTop" : {
"class" : "col-xs-12",
"left" : {
"class" : "col-lg-3 col-md-3 col-sm-4 hidden-xs no-padding",
"buttonList" : {
"imgUploader" : true
}
},
"right" : {
"class" : "col-md-12 col-sm-12 col-lg-12 col-xs-12 text-center",
"buttonList" : {
"xsMenu" : {
"class" : "visible-xs",
"buttonList" : {
"detail" : true,
"community" : true,
"gallery" : true,
"events" : true,
"classifieds" : true,
"newspaper" : true
}
},
"detail" : true,
"community" : true,
"gallery" : true,
"events" : true,
"classifieds" : true,
"newspaper" : true
}
}
}
}
}
...defaultConfig
};
<?php
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment