svn commit: r944797 - in /ofbiz/trunk/applications/product: config/ProductEntityLabels.xml entitydef/entitymodel.xml widget/catalog/ProdCatalogForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r944797 - in /ofbiz/trunk/applications/product: config/ProductEntityLabels.xml entitydef/entitymodel.xml widget/catalog/ProdCatalogForms.xml

jleroux@apache.org
Author: jleroux
Date: Sun May 16 11:13:12 2010
New Revision: 944797

URL: http://svn.apache.org/viewvc?rev=944797&view=rev
Log:
A patch from Chris Snow "ProdCatalog missing field title help" (https://issues.apache.org/jira/browse/OFBIZ-3772) - OFBIZ-3772

Most descriptions have been taken from the "Manager Reference Catalog" document.

Modified:
    ofbiz/trunk/applications/product/config/ProductEntityLabels.xml
    ofbiz/trunk/applications/product/entitydef/entitymodel.xml
    ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml

Modified: ofbiz/trunk/applications/product/config/ProductEntityLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/config/ProductEntityLabels.xml?rev=944797&r1=944796&r2=944797&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/config/ProductEntityLabels.xml (original)
+++ ofbiz/trunk/applications/product/config/ProductEntityLabels.xml Sun May 16 11:13:12 2010
@@ -2639,6 +2639,35 @@
     </property>
 
     <!-- Field Descriptions -->
+    <!--  ProdCatalog -->
+    <property key="FieldDescription.ProdCatalog.prodCatalogId">
+        <value xml:lang="en">This cannot be changed without re-creating the Product Catalog.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.catalogName">
+        <value xml:lang="en">This will be shown to your customers, so think of image when giving your catalog a name.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.useQuickAdd">
+        <value xml:lang="en">Set this to Y if you want to give users the option to quick add products.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.styleSheet">
+        <value xml:lang="en">The path to your distinctive style sheet which will govern the appearance of your catalog goes here.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.headerLogo">
+        <value xml:lang="en">This will be seen by your customers. Maintain your image and message with the logo presented.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.contentPathPrefix">
+        <value xml:lang="en">If specified will be prepended to image and other content paths. Should start with a slash but not end with one.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.templatePathPrefix">
+        <value xml:lang="en">If specified will be prepended to template paths. Should start with a slash but not end with one.</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.viewAllowPermReqd">
+        <value xml:lang="en">If Y, administrators can only add products to 'View Allow' categories if they have the permission CATALOG_VIEW_ALLOW</value>
+    </property>
+    <property key="FieldDescription.ProdCatalog.purchaseAllowPermReqd">
+        <value xml:lang="en">If Y, administrators can only add products to 'Purchase Allow' categories if they have the permission CATALOG_VIEW_ALLOW</value>
+    </property>
+
     <!--  ProductStore -->
     <property key="FieldDescription.ProductStore.productStoreId">
         <value xml:lang="en">The id for the product store..</value>

Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?rev=944797&r1=944796&r2=944797&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Sun May 16 11:13:12 2010
@@ -54,7 +54,7 @@ under the License.
 
     <entity entity-name="ProdCatalog"
             package-name="org.ofbiz.product.catalog"
-            title="Catalog Entity">
+            title="Catalog Entity" default-resource-name="ProductEntityLabels">
       <field name="prodCatalogId" type="id-ne"></field>
       <field name="catalogName" type="name"></field>
       <field name="useQuickAdd" type="indicator"></field>

Modified: ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml?rev=944797&r1=944796&r2=944797&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml Sun May 16 11:13:12 2010
@@ -21,7 +21,7 @@ under the License.
 <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
     <form name="EditProdCatalog" type="single" target="updateProdCatalog" title="" default-map-name="prodCatalog"
-        header-row-style="header-row" default-table-style="basic-table">
+        header-row-style="header-row" default-table-style="basic-table" default-entity-name="ProdCatalog">
 
         <alt-target use-when="prodCatalog==null" target="createProdCatalog"/>