You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2009/03/01 18:07:41 UTC
svn commit: r749062 -
/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
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="<@o...@ofbizContentUrl>" alt="Logo"/>
<#elseif catalogHeaderLogo?exists>
<img src="<@o...@ofbizContentUrl>" alt="Logo"/>
- <#elseif (productStore.headerLogo)?has_content>
- <img src="<@o...@ofbizContentUrl>" alt="Logo"/>
+ <#elseif layoutSettings.VT_HDR_IMAGE_URL?has_content>
+ <img src="<@o...@ofbizContentUrl>" alt="Logo"/>
</#if>
</div>
<div id="right">