From 436c2f6ca2fb68f924192096979c70303b05ade6 Mon Sep 17 00:00:00 2001 From: Hamid Abbaszadeh Date: Fri, 7 Jun 2019 19:24:54 +0430 Subject: [PATCH] remove image from detail page --- src/dca/tl_module.php | 2 +- src/templates/product/product_full.html5 | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/dca/tl_module.php b/src/dca/tl_module.php index 50aec6b..bdc951d 100644 --- a/src/dca/tl_module.php +++ b/src/dca/tl_module.php @@ -16,7 +16,7 @@ */ $GLOBALS['TL_DCA']['tl_module']['palettes']['product_list'] = '{title_legend},name,headline,type;{catalog_legend},product_catalogs,product_categories,product_featured,product_detailModule,product_sortBy,numberOfItems,perPage,skipFirst;{template_legend},product_metaFields,customTpl;{product_legend},product_template,imgSize,product_list_Class,product_Class;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space'; -$GLOBALS['TL_DCA']['tl_module']['palettes']['product_detail'] = '{title_legend},name,headline,type;{catalog_legend},product_catalogs;{template_legend},product_metaFields,customTpl;{product_legend},product_template,imgSize,fullsize;{related_legend},related_show,related_template,related_imgSize,product_list_Class,related_Class;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space'; +$GLOBALS['TL_DCA']['tl_module']['palettes']['product_detail'] = '{title_legend},name,headline,type;{catalog_legend},product_catalogs;{template_legend},product_metaFields,customTpl;{product_legend},product_template,imgSize;{related_legend},related_show,related_template,related_imgSize,product_list_Class,related_Class;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space'; /** * Add fields to tl_module diff --git a/src/templates/product/product_full.html5 b/src/templates/product/product_full.html5 index 65934f7..647fd91 100644 --- a/src/templates/product/product_full.html5 +++ b/src/templates/product/product_full.html5 @@ -53,18 +53,13 @@ - -
-
- summary; ?> -
- addImage): ?> - insert('image', $this->arrData); ?> - + +
+ summary; ?>
text): ?> -
+
text; ?>