diff --git a/config/common.yml b/config/common.yml index 90aee4a..fab5609 100644 --- a/config/common.yml +++ b/config/common.yml @@ -1,6 +1,7 @@ parameters: images_directory: '%kernel.project_dir%/modules/is_imageslider/img/' - images_uri: '/modules/is_imageslider/img/' + module_uri: !php/const _MODULE_DIR_ + images_uri: '%module_uri%is_imageslider/img/' placeholder_img: '/modules/is_imageslider/views/img/placeholder.jpeg' services: diff --git a/is_imageslider.php b/is_imageslider.php index 6be62f2..1faf62c 100644 --- a/is_imageslider.php +++ b/is_imageslider.php @@ -40,6 +40,11 @@ public function __construct() $this->ps_versions_compliancy = ['min' => '8.0.0', 'max' => _PS_VERSION_]; } + public function isUsingNewTranslationSystem(): bool + { + return true; + } + /** * @return bool */