From 414a3c43f35e40c401242ebc18d9f71adfb5612e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Fri, 3 Nov 2023 23:59:36 +0100 Subject: [PATCH] theme contact page minor fixes --- config/theme.yml | 4 ++++ templates/contact.tpl | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/config/theme.yml b/config/theme.yml index d24857fb..d65f8292 100644 --- a/config/theme.yml +++ b/config/theme.yml @@ -94,6 +94,10 @@ global_settings: - ps_sharebuttons displayOrderConfirmation2: - ps_featuredproducts + displayContactRightColumn: + - ps_contactinfo + displayContactLeftColumn: + - ps_contactinfo image_types: cart_default: diff --git a/templates/contact.tpl b/templates/contact.tpl index 79cd7aa8..0cb7e057 100644 --- a/templates/contact.tpl +++ b/templates/contact.tpl @@ -28,18 +28,18 @@ {if $layout === 'layouts/layout-left-column.tpl'} {block name="left_column"} -
- {widget name="ps_contactinfo" hook='displayLeftColumn'} +
+ {hook h='displayContactLeftColumn'}
{/block} -{else if $layout === 'layouts/layout-right-column.tpl'} +{elseif $layout === 'layouts/layout-right-column.tpl'} {block name="right_column"} -
- {widget name="ps_contactinfo" hook='displayRightColumn'} +
+ {hook h='displayContactRightColumn'}
{/block} {/if} {block name='page_content'} - {widget name="contactform"} + {hook h='displayContactContent'} {/block}