diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php index 0c9081ea4..85dc6b43b 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/sections.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/sections.php @@ -12,6 +12,7 @@ return [ 'show_lang_url', 'iban_numbers', 'google_statistic_code', + 'body_custom_space', 'ogImage', 'free_currencyconverterapi_key', 'hide_price_categories', diff --git a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php index 3c1cf4ab6..1f23f5867 100644 --- a/addons/default/visiosoft/advs-module/resources/config/settings/settings.php +++ b/addons/default/visiosoft/advs-module/resources/config/settings/settings.php @@ -74,6 +74,14 @@ return [ 'default_value' => '', ], ], + 'body_custom_space' => [ + 'type' => 'anomaly.field_type.editor', + 'bind' => 'adv.body_custom_space', + 'env' => 'ADV_BODY_CUSTOM_SPACE', + 'config' => [ + 'default_value' => '', + ], + ], 'logo' => [ 'type' => 'anomaly.field_type.file', 'bind' => 'adv.logo', diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php index 038d85f07..de8e9b5a9 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/setting.php @@ -128,6 +128,9 @@ return [ 'google_statistic_code' => [ 'name' => 'Google Statistic Code', ], + 'body_custom_space' => [ + 'name' => 'Body Custom Space', + ], 'register_email_field' => [ 'name' => 'Member Registration Email Requirement', ], diff --git a/addons/default/visiosoft/base-theme/resources/views/partials/assets.twig b/addons/default/visiosoft/base-theme/resources/views/partials/assets.twig index e096a4bc4..f028a1464 100644 --- a/addons/default/visiosoft/base-theme/resources/views/partials/assets.twig +++ b/addons/default/visiosoft/base-theme/resources/views/partials/assets.twig @@ -45,3 +45,5 @@ {{ script|raw }} {% endfor %} + +{{ setting_value('visiosoft.module.advs::body_custom_space')|raw }}