From 8bbf7e4fa7e595caa3a639828a91f8d5ccab38dc Mon Sep 17 00:00:00 2001 From: MaxBuhe01 Date: Sat, 21 Sep 2024 18:15:57 +0200 Subject: [PATCH] [Changed] OXID7 metadata adjustments --- metadata.php | 56 ++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/metadata.php b/metadata.php index 42a149b..cc10c4d 100755 --- a/metadata.php +++ b/metadata.php @@ -52,7 +52,7 @@ $aModule = [ Die Entwicklung basiert auf einem Fork von Marat Bedoev - Github-Link ", 'thumbnail' => 'thumbnail.png', - 'version' => '2.22.0', + 'version' => '3.0.0', 'author' => 'Data Development (Inh.: Thomas Dartsch)', 'email' => 'support@shopmodule.com', 'url' => 'https://www.oxidmodule.com/', @@ -88,97 +88,97 @@ $aModule = [ ], 'templates' => [ // Event files that store the GA4 Event-Information - 'event/add_to_cart.tpl' => 'd3/googleanalytics4/Application/views/event/add_to_cart.tpl', - 'event/view_item.tpl' => 'd3/googleanalytics4/Application/views/event/view_item.tpl', - 'event/view_item.tpl' => 'd3/googleanalytics4/Application/views/event/view_item.tpl', - 'event/begin_checkout.tpl' => 'd3/googleanalytics4/Application/views/event/begin_checkout.tpl', - 'event/add_payment_info.tpl' => 'd3/googleanalytics4/Application/views/event/add_payment_info.tpl', - 'event/purchase.tpl' => 'd3/googleanalytics4/Application/views/event/purchase.tpl', - 'event/view_item_list.tpl' => 'd3/googleanalytics4/Application/views/event/view_item_list.tpl', - 'event/view_search_result.tpl' => 'd3/googleanalytics4/Application/views/event/view_search_result.tpl', - 'event/remove_from_cart.tpl' => 'd3/googleanalytics4/Application/views/event/remove_from_cart.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/add_to_cart.tpl' => 'd3/googleanalytics4/Application/views/event/add_to_cart.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/view_item.tpl' => 'd3/googleanalytics4/Application/views/event/view_item.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/view_item.tpl' => 'd3/googleanalytics4/Application/views/event/view_item.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/begin_checkout.tpl' => 'd3/googleanalytics4/Application/views/event/begin_checkout.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/add_payment_info.tpl' => 'd3/googleanalytics4/Application/views/event/add_payment_info.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/purchase.tpl' => 'd3/googleanalytics4/Application/views/event/purchase.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/view_item_list.tpl' => 'd3/googleanalytics4/Application/views/event/view_item_list.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/view_search_result.tpl' => 'd3/googleanalytics4/Application/views/event/view_search_result.tpl', + '@' . Constants::OXID_MODULE_ID . '/event/remove_from_cart.tpl' => 'd3/googleanalytics4/Application/views/event/remove_from_cart.tpl', // complete overwritten file of OXID-Originals // the path of the template-name is the original path to the file in OXID-context from tpl/-> - 'page/account/d3gtmnoticelist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmnoticelist.tpl', - 'page/account/d3gtmrecommendationlist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmrecommendationlist.tpl', - 'page/account/d3gtmwishlist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmwishlist.tpl', + '@' . Constants::OXID_MODULE_ID . 'page/account/d3gtmnoticelist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmnoticelist.tpl', + '@' . Constants::OXID_MODULE_ID . 'page/account/d3gtmrecommendationlist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmrecommendationlist.tpl', + '@' . Constants::OXID_MODULE_ID . 'page/account/d3gtmwishlist.tpl' => 'd3/googleanalytics4/Application/views/tpl/page/account/d3gtmwishlist.tpl', // Admin Templates - 'ga4/admin/d3ga4uimain.tpl' => 'd3/googleanalytics4/Application/views/admin/tpl/d3googleanalytics4_main.tpl', - 'ga4/admin/d3ga4uiheaditem.tpl' => 'd3/googleanalytics4/Application/views/admin/tpl/d3googleanalytics4_headitem.tpl', + '@' . Constants::OXID_MODULE_ID . 'admin/d3ga4uimain.tpl' => 'd3/googleanalytics4/Application/views/admin/tpl/d3googleanalytics4_main.tpl', + '@' . Constants::OXID_MODULE_ID . 'admin/d3ga4uiheaditem.tpl' => 'd3/googleanalytics4/Application/views/admin/tpl/d3googleanalytics4_headitem.tpl', ], 'blocks' => [ // tag manager js [ 'template' => 'layout/base.tpl', 'block' => 'head_meta_robots', - 'file' => '/Application/views/blocks/_gtm_js.tpl', + 'file' => 'views/smarty/blocks/_gtm_js.tpl', 'position' => 150 ], // tag manager nojs [ 'template' => 'layout/base.tpl', 'block' => 'theme_svg_icons', - 'file' => '/Application/views/blocks/_gtm_nojs.tpl' + 'file' => 'views/smarty/blocks/_gtm_nojs.tpl' ], // details [ 'template' => 'page/details/inc/productmain.tpl', 'block' => 'details_productmain_title', - 'file' => '/Application/views/blocks/view_item.tpl', + 'file' => 'views/smarty/blocks/view_item.tpl', 'position' => 150 ], // View Cart [ 'template' => 'page/checkout/basket.tpl', 'block' => 'checkout_basket_main', - 'file' => '/Application/views/blocks/view_cart.tpl' + 'file' => 'views/smarty/blocks/view_cart.tpl' ], // add_to_cart [ 'template' => 'page/details/inc/productmain.tpl', 'block' => 'details_productmain_tobasket', - 'file' => '/Application/views/blocks/details_productmain_tobasket.tpl', + 'file' => 'views/smarty/blocks/details_productmain_tobasket.tpl', 'position' => 150 ], // remove_from_cart [ 'template' => 'page/checkout/basket.tpl', 'block' => 'checkout_basket_main', - 'file' => '/Application/views/blocks/remove_from_cart.tpl', + 'file' => 'views/smarty/blocks/remove_from_cart.tpl', 'position' => 150 ], [ 'template' => 'page/checkout/thankyou.tpl', 'block' => 'checkout_thankyou_main', - 'file' => '/Application/views/blocks/purchase.tpl' + 'file' => 'views/smarty/blocks/purchase.tpl' ], // Lists // view_item_list [ 'template' => 'page/list/list.tpl', 'block' => 'page_list_productlist', - 'file' => '/Application/views/blocks/view_item_list.tpl', + 'file' => 'views/smarty/blocks/view_item_list.tpl', 'position' => 150 ], // view_search_result [ 'template' => 'page/search/search.tpl', 'block' => 'search_results', - 'file' => '/Application/views/blocks/view_search_result.tpl', + 'file' => 'views/smarty/blocks/view_search_result.tpl', 'position' => 150 ], [ 'template' => 'page/list/list.tpl', 'block' => 'page_list_listbody', - 'file' => '/Application/views/blocks/page_list_listbody.tpl', + 'file' => 'views/smarty/blocks/page_list_listbody.tpl', 'position' => 150 ], [ 'template' => 'page/shop/start.tpl', 'block' => 'start_welcome_text', - 'file' => '/Application/views/blocks/start_welcome_text.tpl', + 'file' => 'views/smarty/blocks/start_welcome_text.tpl', 'position' => 150 ], // Checkout process @@ -186,7 +186,7 @@ $aModule = [ [ 'template' => 'page/checkout/user.tpl', 'block' => 'checkout_user_main', - 'file' => '/Application/views/blocks/begin_checkout.tpl', + 'file' => 'views/smarty/blocks/begin_checkout.tpl', 'position' => 150 ], // Add payment info @@ -195,7 +195,7 @@ $aModule = [ [ 'template' => 'page/checkout/order.tpl', 'block' => 'checkout_order_main', - 'file' => '/Application/views/blocks/add_payment_info.tpl', + 'file' => 'views/smarty/blocks/add_payment_info.tpl', 'position' => 150 ], ],