Select the first letter of the word from the list above to link to appropriate section of the glossary.
- VALUE:
- List of selection values to display in the select box.
- Note: Any of the following words or single characters can be used as one of the selection values to generate a null value. NONE, *, ., and #
Example:
<tame form>
<tame select: size small medium large> Select a size
<tame /form>This example will present a drop down box with the words "Select a size" next to it. When the customer selects small, medium or large, it is associated with the variable "size" for use by the system. The variable can be present on the screen using "&size".
See Also: ^buyselect, select2
- [DISPLAY] [CODE-RETURN]:
- List of selection pairs to display in the select box and return to the system. Brackets, [ ], are required if spaces are imbedded in the display or return arguments.
- Note: Any of the following words or single characters can be used as one of the selection values to generate a null value. NONE, *, ., and #
Note: This tag will function only with browsers that support HTML 3.0 features.
Example:
<tame form>
<tame select2: size small [8 oz] medium [12 oz] large [16 oz}> Select a size
<tame /form>The drop down box presented will list small, medium and large. Upon selection the system will store 8, 12 or 16 oz in the variable, size.
See Also: select, ^buyselect, ^buyselect2
<tame select_quality: ITEM QUALITY VALUE . . . >
- QUALITY:
- The quality of the product, such as color, for which values are provided.
- VALUE:
- The different values or options from which a customer can choose. For example, blue green yellow.
Example:
<tame form>
A Personalized Widget
<tame select_quality: widget size small medium large>
<tame ^buy: widget Buy a Widget>
<tame /form>In this example the item widget can be specialized by size. The customer will see a drop down selection list for size. Once a choice is made and the ^buy button is selected, the information associated with the widget will appear in the description section on the cart panel.
See Also: ^buy, form buy, select_quality2, box_quality, radio_quality, text_quality
<tame select_quality2: ITEM QUALITY [DISPLAY] [CODE-RETURN] . . . >
- QUALITY:
- The quality of the product, such as color, for which values are provided.
- [DISPLAY] [CODE-RETURN]:
- List of selection pairs to display in the select box and return to the system. Brackets, [ ], are required if spaces are imbedded in the display or return arguments.
Note: Any of the following words or single characters can be used as one of the selection values to generate a null value. NONE, *, ., and #
Note: This tag will function only with browsers that support HTML 3.0 features.
Example:
<tame form>
Please select your size.
<tame select_quality2: socks size Small 1 Medium 2 [Large X-Large] 3>
<tame ^buysubmit: Purchase socks>
<tame /form>When the customer selects a size, it is associated with the product socks. The size appears in the description along with the product selection. Note the use of [ ] to enclose arguments with embedded spaces.
See Also: ^buy, form buy, select_quality, box_quality, radio_quality, text_quality
<tame select_qty: ITEM QUANTITY . . .>
Example:
<tame form>
<tame descrip: example>
<tame select_quality2: example size Small 1 Medium 2 [Large X-Large] 3>
<tame select_qty: example 0 1 2 3 4> Select quantity<br>
<tame ^buy: example>
<tame /form>This example provides provides details about and sizes for an "example" and then limits the quantity to purchase (0 to 4) with the select_qty button. Selecting the ^buy button will associate all information with "example: and submit it to the cart_panel.
See Also: input_qty, ^buyselectqty
<tame>
setgate: ACCESS-TYPE DIRECTORY/DATA-SOURCE
</tame>
- ACCESS-TYPE
FILE - for .tdb and .tab (tab delimited) ASCII flat files.
WGREP - for tables retrieved by the wgrep search engine
ODBC - for SQL retrieval of tables coming from a ODBC data source on Windows95 or the NT
DAO - for SQL tables retrieved through GateBoy using the MS Jet engine. (Requires GateBoy software extentions.)
DIRECTORY/DATA-SOURCE
for the ACCESS-TYPES of FILE or WGREP specifies the path to the directory containing the ACCII flat files.
for ODBD and DAO specifies the data source name as entered in the ODBC manager in the NT or Windows95 control panel.
Note: You can define multiple setgate tags within a page or shop; however only one setgate tag is active at any given time.
Note: To set a default data source, place the setgate in the custom.tag file.
Example:
<tame setgate: FILE ~shop>
<tame define_tdb: data product.tdb><tame workwith: data>
<tame foreach::
item: {?item}<br>
price: {?price}<br>
description: {?descrip}<p>
>
<tame /workwith>The setgate in this example define the data source as a FILE and the default shop directory as the location of the database file. The remainder of the example shows the access and presentation of the data on a page.
See Also: define_tdb, workwith, foreach, data access
<tame>
setpdb: TABLE/PATH-FILE
</tame>
- TABLE/PATH-FILE
- Designates the name of a table defined by a define_tdb, define_wgrep, or define_sql tag. It may also designate a path and name to a .tdb file.
Note: The &pdb variable is set in the Admin config.tag file for the shop.
Example:
<tame setpdb: ~//shop/example.tdb>
Will designate the use of the example.tdb from this point onward on this page instead of the file designated in the Admin config.tag file. The ~//shop/ indicates that this file will be found in the shop data-mirror directory.
See Also: setgate, define_tdb
- OPTION-LIST
- The options associated with a panel to customize it's presentation.
LIST OPTIONS HERE!
Example:
End Mark Required: /tamecase
<tamecase: CASE-NAME>
HTML-AREA
</tamecase>
- CASE-NAME:
- The name of the case. The name can be multiple words but cannot contain a period.
Example:
Create a tamecase on curpage using the following format:
<tamecase: pagecase>
This is the pagecase area of the file
</tamecase>To access this case use the following command:
<tame ^link: pagecase Go to this pages case area>
This goes to the tamecase "pagecase" in the same document that contained the link. Note that there are no periods used in the link statement which indicates the use of case-name instead of document-location.
To access the curpage pagecase from another document use the tocase modifier:
<tame tocase: pagecase; ^link: curpage.tam Go to the new page>
See also: tocase, document-location, ^link
Note: The tamepage command provides additional functionality.
HTML-AREA
<head>
<tame tamehead>
HTML-AREA
</head>
HTML-AREA
Note: When you use this tag you must place it between the <head> </head> html directives at the top of the page, and you are responsible for including all other HTML tags that normally start a page.
Note: If you do not use the tamehead or tamepage tag, the client browser might not know how to form requests for images called from your page.
Example:
<html>
<head>
<tame tamehead>
<title>This page requires additional HTML information</title>
</head>
<body bgcolor="#FFFFFF">In this example the tamehead provides the basic information to allow the GoldPaint Shopping System to access images on the page. To define the background and title requires the additional html markups.
See also: tamepage
Example:
<tame ^goto: pagea.tam {*star*}>
In this example the hyperlink to goto the page pagea.tam is represented by a star image. This image was first defined with an image or face definition.
See Also: BUTTON-FACE-AREA, image, face
End Mark Required: /tamepage
Modifiers: require_register, require_filling, request_bookmark, passgate
See also: tamehead
End Mark Required: /tamewhen
<tamewhen: TEST>
HTML-AREA
</tamewhen>
- TEST:
- A test that results in logic true or false.
Example:
<tamewhen: {&total > &balance}>
Your account is over balance<br>
Please contact us if you feel this message is in error<br>
</tamewhen>This example test to see of the variable "&total" is greater then the variable "&balance", if it is the message is presented. Otherwise the page continues to function and the information in the tamewhen is ignored.
See Also: tamecase
<tame tb: TAMECOMMAND>
Example:
<tame tb: {^buysubmit: Purchase selected items}>
In this example the words "Purchase selected items" appears on a button with a border. This can give a button extra enhances.
See also: ^buysubmit
<tame text: VARIABLE SIZE>
Example:
<tame text: name 40> Your name
Modifiers: required
See also: passwd
<tame text_face??>
See also:
Example:
<tame text_quality: ITEM QUALITY WIDTH HEIGHT DEFAULT_TEXT>
- QUALITY
- The variable in which to store the specialize information about the product.
- WIDTH & HEIGHT
- The width in characters and the height in lines of the input box. The default width is 40 and the default height is 1.
- DEFAULT_TEXT
- The text that will appear in the box initially. The default is blank.
Example:
<tame form>
A Personalized Widget
How do you wish to be personalize your widget?
<text_quality: widget Personalization 40 3>
<tame /form>In this example the input block for the personalization is 40 characters by 3 lines. This text will appear in the description section on the cart panel.
<tame thisform>#ANCHOR
Example:
<tame ^link: <tame thisform>#newtopic {*star*}>
See also: ^link
<tame tocase: CASE-NAME; LINK_TAG: DOCUMENT-LOCATION HTML-ARGUMENT-AREA>
- LINK_TAG:
- Use any linking command such as ^link, ^goto, or ^next to link to another page.
- CASE-NAME:
- The name of the case or location defined by the <tamecase> tag. The name can be multiple words but cannot contain a period.
Example:
Create a tamecase on curpage using the following format:
<tamecase: pagecase>
This is the pagecase area of the file
</tamecase>To access the curpage pagecase from another document use the tocase modifier:
<tame tocase: pagecase; ^link: curpage.tam Go to the new page>
See also: tamecase, document-location, ^link
<tame> transfer: NAME VALUE . . .; ^LINK/^GOTO: DOCUMENT-LOCATION HTML-ARGUMENT-AREA</tame>
Note: Multiple NAME VALUE pairs can be included in a transfer. They should be separated by a space.
Note: Review the use and position of the semicolon.
Example:
<tame>transfer: shoesize 10; goto: showshoes.tam ALL SHOES SIZE 10</tame>
This example will transfer the shoesize 10 to the next page where all shoes for that size are shown.
See Also: ^goto, ^link, variables, pass, carry
Example:
Note: Variable are discussed in detail in the Variables section.
<tame when: {TEST} {TAMECOMMAND}>
Example
<tame when: {&total > 200.00} {relink: overlimit.tam}>
In this example, the customer will not goto the payment screen if he has spent more than $200.00, instead he will be sent to the overlimit.tam page.
<tame when_allow_tables: HTML-ARGUMENT-AREA>
See also: when_not_allow_tables
See also: when_not_cart
<tame when_filled: HTML-ARGUMENT-AREA>
See also: when_not_filled, form
<tame when_hits: HTML-ARGUMENT-AREA >
Note: This tag will only work within a workwith area.
See also: workwith, when_not_hits
<tame when_known: HTML-ARGUMENT-AREA>
See also: when_not_known
<tame when_not_allow_tables: HTML-ARGUMENT-AREA>
See also: when_allow_tables
See also: when_cart
<tame when_not_filled: HTML-ARGUMENT-AREA>
See also: when_filled, form, required
<tame when_not_hits: HTML-ARGUMENT-AREA >
Note: This tag will only work within a workwith area.
<tame when_not_known: HTML-ARGUMENT-AREA>
See also: when_known
<tame when_not_so: HTML-ARGUMENT-AREA>
See also: when_so
<tame when_so: HTML-ARGUMENT-AREA>
See also: when_not_so
End Mark Required: /workwith
<tame workwith: TABLE> ... HTML-AREA ... <tame /workwith>
- Note: Workwith areas may be nested.
Example:
<tame workwith: states>
{?Washington,population}
- <tame workwith: cities>
{?Seattle,population}
<tame /workwith>{?Washington,capital}
<tame /workwith>The first and last sections of this query are made against the table "states". Nested in the middle is a query against the table "cities".
See Also: foreach, ?, pass, data_access
Draft Katherine C. Davis 3/27/97