You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2016/04/19 20:52:41 UTC

svn commit: r1739982 - in /ofbiz/trunk/specialpurpose/ecommerce: data/EcommerceSystemPropertyData.xml ofbiz-component.xml

Author: mbrohl
Date: Tue Apr 19 18:52:41 2016
New Revision: 1739982

URL: http://svn.apache.org/viewvc?rev=1739982&view=rev
Log:
Applied patch for OFBIZ-6793: Have configuration options for the ecommerce component.

Thanks Pierre Smits for providing the patch.

Added:
    ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml   (with props)
Modified:
    ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml

Added: ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml?rev=1739982&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml (added)
+++ ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml Tue Apr 19 18:52:41 2016
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<entity-engine-xml>
+    
+    <SystemProperty
+    systemPropertyId="tagcloud.min.fontsize" 
+    systemPropertyValue="8" 
+    description="Minimum font size for the tag cloud." 
+    systemResourceId="ecommerce"
+    />
+    
+    <SystemProperty
+    systemPropertyId="tagcloud.max.fontsize" 
+    systemPropertyValue="14" 
+    description="Maximum font size for the tag cloud." 
+    systemResourceId="ecommerce"
+    />
+    
+    <SystemProperty
+    systemPropertyId="tagcloud.limit" 
+    systemPropertyValue="99" 
+    description="Number of tags in the tag cloud." 
+    systemResourceId="ecommerce"
+    />
+    
+
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/specialpurpose/ecommerce/data/EcommerceSystemPropertyData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml?rev=1739982&r1=1739981&r2=1739982&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/ofbiz-component.xml Tue Apr 19 18:52:41 2016
@@ -26,6 +26,8 @@ under the License.
     <classpath type="dir" location="config"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceSecurityData.xml"/>
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/EcommerceSystemProperty.xml"/>
+    
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoProduct.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoSurvey.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoRentalShipping.xml"/>