Author: buscob
Date: Sun Mar  1 17:07:41 2009
New Revision: 749062

URL: http://svn.apache.org/viewvc?rev=749062&view=rev
Log:
The ecommerce header logo must now be retrieved from the selected VisualTheme 
and not directly from the ProductStore. Now only WebPos still try to use the 
ProductStore.HeaderLogo. I will soon change the WebPos to be themable too.

Modified:
    ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Modified: 
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=749062&r1=749061&r2=749062&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl 
(original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl Sun 
Mar  1 17:07:41 2009
@@ -25,8 +25,8 @@
         <img 
src="<@ofbizContentUrl>${sessionAttributes.overrideLogo}</@ofbizContentUrl>" 
alt="Logo"/>
       <#elseif catalogHeaderLogo?exists>
         <img src="<@ofbizContentUrl>${catalogHeaderLogo}</@ofbizContentUrl>" 
alt="Logo"/>
-      <#elseif (productStore.headerLogo)?has_content>
-        <img 
src="<@ofbizContentUrl>${productStore.headerLogo}</@ofbizContentUrl>" 
alt="Logo"/>
+      <#elseif layoutSettings.VT_HDR_IMAGE_URL?has_content>
+        <img 
src="<@ofbizContentUrl>${layoutSettings.VT_HDR_IMAGE_URL.get(0)}</@ofbizContentUrl>"
 alt="Logo"/>
       </#if>
     </div>
     <div id="right">


Reply via email to