Author: deepak Date: Wed Oct 4 18:26:43 2017 New Revision: 1811117 URL: http://svn.apache.org/viewvc?rev=1811117&view=rev Log: Fixed: Get the header and footer template location correctly in ecommerce main decorator. Now multiflex theme will work fine with ecommerce.(OFBIZ-9805)
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml?rev=1811117&r1=1811116&r2=1811117&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml (original) +++ ofbiz/ofbiz-plugins/trunk/ecommerce/widget/CommonScreens.xml Wed Oct 4 18:26:43 2017 @@ -57,8 +57,8 @@ under the License. <!-- Get the store VisualTheme --> <set field="visualThemeId" from-field="productStore.visualThemeId" default-value="EC_DEFAULT"/> <script location="component://common/groovyScripts/InitTheme.groovy"/> - <set field="headerTemplateLocation" from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]" default-value="component://ecommerce/template/includes/Header.ftl"/> - <set field="footerTemplateLocation" from-field="layoutSettings.VT_FTR_TMPLT_LOC[0]" default-value="component://ecommerce/template/includes/Footer.ftl"/> + <set field="headerTemplateLocation" from-field="layoutSettings.VT_HDR_TMPLT_LOC" default-value="component://ecommerce/template/includes/Header.ftl"/> + <set field="footerTemplateLocation" from-field="layoutSettings.VT_FTR_TMPLT_LOC" default-value="component://ecommerce/template/includes/Footer.ftl"/> <entity-and entity-name="WebAnalyticsConfig" list="webAnalyticsConfigs"> <field-map field-name="webSiteId"/> </entity-and>