[docs] docs - heins modified 2 files

docs@icdevgroup.org docs@icdevgroup.org
Wed Feb 5 10:58:01 2003


User:      heins
Date:      2003-02-05 15:58:00 GMT
Modified:  .        ictags.sdf ictemplates.sdf
Log:
* Update docs on [PREFIX-discount-price] and [PREFIX-modifier-name].

Revision  Changes    Path
1.108     +24 -24    docs/ictags.sdf


rev 1.108, prev_rev 1.107
Index: ictags.sdf
===================================================================
RCS file: /anon_cvs/repository/docs/ictags.sdf,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- ictags.sdf	3 Jan 2003 05:03:05 -0000	1.107
+++ ictags.sdf	5 Feb 2003 15:57:59 -0000	1.108
@@ -1,10 +1,10 @@
 !init OPT_LOOK="icdevgroup"; OPT_STYLE="manual" 
-# $Id: ictags.sdf,v 1.107 2003/01/03 05:03:05 jon Exp $
+# $Id: ictags.sdf,v 1.108 2003/02/05 15:57:59 mheins Exp $
 
 !define DOC_NAME "Interchange Tags Reference"
 !define DOC_TYPE ""
 !define DOC_CODE "ictags"
-!define DOC_VERSION substr('$Revision: 1.107 $', 11, -2)
+!define DOC_VERSION substr('$Revision: 1.108 $', 11, -2)
 !define DOC_STATUS "Draft"
 !define DOC_PROJECT "Interchange"
 !define DOC_URL "http://www.icdevgroup.org/doc/ictags.html"
@@ -406,8 +406,8 @@
 . C<[if-PREFIX-modifier]> (hash list only)
 . C<[if-PREFIX-param]>
 . C<[if-PREFIX-pos]>
-. E<lbracket>{{CMD[jump="#modifier-name"]modifier-name}}]
-. E<lbracket>{{CMD[jump="#quantity-name"]quantity-name}}]
+. E<lbracket>{{CMD[jump="#PREFIX-modifier-name"]modifier-name}}]
+. E<lbracket>{{CMD[jump="#PREFIX-quantity-name"]quantity-name}}]
 
 PREFIX represents the prefix that is used in that looping tag.
 They are only interpreted within their container and only accept
@@ -863,10 +863,10 @@
 except uses the same data rules as
 E<lbracket>{{C[jump="#PREFIX-field"]PREFIX-field}}].
 
-# H2: {{CMD[id="modifier-name"]modifier-name}}
-H2: modifier-name
+# H2: {{CMD[id="PREFIX-modifier-name"]PREFIX-modifier-name}}
+H2: PREFIX-modifier-name
 
-E:   E<lbracket>modifier-name attribute]
+E:   E<lbracket>PREFIX-modifier-name attribute]
 
 Outputs a variable name which will set an appropriate variable name for setting
 the attribute in a form (usually a shopping cart). Outputs for successive items
@@ -878,14 +878,14 @@
 
 etc.
 
-C<[modifier-name] quantity>
+C<[PREFIX-modifier-name quantity]>
 would be the same as
-E<lbracket>{{C[jump="#quantity-name"]quantity-name}}].
+E<lbracket>{{C[jump="#PREFIX-quantity-name"]PREFIX-quantity-name}}].
 
-# H2: {{CMD[id="quantity-name"]quantity-name}}
-H2: quantity-name
+# H2: {{CMD[id="quantity-name"]PREFIX-quantity-name}}
+H2: PREFIX-quantity-name
 
-E:   E<lbracket>quantity-name]
+E:   E<lbracket>item-quantity-name]
 
 Outputs for successive items in the list:
 
@@ -895,8 +895,8 @@
 
 etc.
 
-E<lbracket>{{C[jump="#modifier-name"]modifier-name}}C< quantity>]
-would be the same as C<[quantity-name]>.
+E<lbracket>{{C[jump="#PREFIX-modifier-name"]PREFIX-modifier-name}}C< quantity>]
+would be the same as C<[PREFIX-quantity-name]>.
 
 
 H1: Tags
@@ -1055,7 +1055,7 @@
 The modifier value is accessed in the E<lbracket>{{C[jump="#item-list"]item-list}}] loop with the
 E<lbracket>{{C[jump="#PREFIX-param"]item-param}}C< attribute>]
 tag, and form input fields are placed with the
-E<lbracket>{{C[jump="#modifier-name"]modifier-name}}C< attribute>]
+E<lbracket>{{C[jump="#PREFIX-modifier-name"]modifier-name}}C< attribute>]
 tag. This is similar to the way that quantity
 is handled.
 
@@ -1063,7 +1063,7 @@
 You must be sure that no fields in your forms have digits appended to
 their names if the variable is the same name as the attribute name you
 select, as the
-E<lbracket>{{C[jump="#modifier-name"]modifier-name}}C< size>]
+E<lbracket>{{C[jump="#PREFIX-modifier-name"]PREFIX-modifier-name}}C< size>]
 variables will be placed in the
 user session as the form variables size0, size1, size2, etc.
 !endblock
@@ -1149,8 +1149,8 @@
 E<lbracket>{{C[jump="#item-list"]item-list}}]C<[/item-list]> pair.)
 
 !block example
-    <SELECT NAME="[modifier-name size]">
-    [loop option="[modifier-name size]" list="S, M, L, XL"]
+    <SELECT NAME="[loop-modifier-name size]">
+    [loop option="[loop-modifier-name size]" list="S, M, L, XL"]
     <OPTION> [loop-code] -- [price code="[item-code]" size="[loop-code]"]
     [/loop]
     </SELECT>
@@ -7859,7 +7859,7 @@
 of the current item, with currency formatting. If the optional "noformat"
 is set, then currency formatting will not be applied.
 
-H4: E<lbracket>discount-price n* noformat*]
+H4: E<lbracket>item-discount-price n* noformat*]
 
 Evaluates to the discount price for quantity C<n> (from the products file)
 of the current item, with currency formatting. If the optional "noformat"
@@ -7883,7 +7883,7 @@
 Evaluates to the subtotal (quantity * price) for the current item.
 Quantity price breaks are taken into account.
 
-H4: E<lbracket>modifier-name attribute]
+H4: E<lbracket>item-modifier-name attribute]
 
 Evaluates to the name to give an input box in which the
 customer can specify the modifier to the ordered item.
@@ -11592,10 +11592,10 @@
 
 Here is the same thing, but for a shopping-basket color selection:
 
->    <SELECT NAME="[modifier-name color]">
->    <OPTION [selected [modifier-name color] blue]> Blue
->    <OPTION [selected [modifier-name color] green]> Green
->    <OPTION [selected [modifier-name color] red]> Red
+>    <SELECT NAME="[item-modifier-name color]">
+>    <OPTION [selected [item-modifier-name color] blue]> Blue
+>    <OPTION [selected [item-modifier-name color] green]> Green
+>    <OPTION [selected [item-modifier-name color] red]> Red
 >    </SELECT>
 
 By default, the Values space (i.e. [value foo]) is checkedE<nbspace>E<emdash> if you



1.48      +4 -4      docs/ictemplates.sdf


rev 1.48, prev_rev 1.47
Index: ictemplates.sdf
===================================================================
RCS file: /anon_cvs/repository/docs/ictemplates.sdf,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ictemplates.sdf	30 Oct 2002 17:24:00 -0000	1.47
+++ ictemplates.sdf	5 Feb 2003 15:58:00 -0000	1.48
@@ -1,10 +1,10 @@
 !init OPT_LOOK="icdevgroup"; OPT_STYLE="manual"
-# $Id: ictemplates.sdf,v 1.47 2002/10/30 17:24:00 mheins Exp $
+# $Id: ictemplates.sdf,v 1.48 2003/02/05 15:58:00 mheins Exp $
 
 !define DOC_NAME "Template Guide"
 !define DOC_TYPE ""
 !define DOC_CODE "ictemplates"
-!define DOC_VERSION substr('$Revision: 1.47 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.48 $',11, -2)
 !define DOC_STATUS "Draft"
 !define DOC_PROJECT "Interchange"
 !define DOC_URL "http://www.icdevgroup.org/doc/ictemplates.html"
@@ -2227,7 +2227,7 @@
 
 .Evaluates to the price for quantity C<n> (from the products file) of the current item, with currency formatting. If the optional "noformat" is set, currency formatting will not be applied.
 
-LI1: [discount-price n* noformat*]
+LI1: [item-discount-price n* noformat*]
 
 .Evaluates to the discount price for quantity C<n> (from the products file) of the current item, with currency formatting. If the optional "noformat" is set, currency formatting will not be applied. Returns regular price if not discounted.
 
@@ -2243,7 +2243,7 @@
 
 .Evaluates to the subtotal (quantity * price) for the current item. Quantity price breaks are taken into account.
 
-LI1: [modifier-name attribute]
+LI1: [item-modifier-name attribute]
 
 .Evaluates to the name to give an input box in which the customer can specify the modifier to the ordered item.