Select the first letter of the word from the list above to link to appropriate section of the glossary.
<tame>
face: *TAGNAME* BUTTON-FACE-TEXT DOCUMENT-LOCATION
HTML-OPTION-LIST
</tame>
- TAGNAME:
- The name to use as the tag name for the image.
- HTML-OPTION-LIST:
- List of options for the image. Can include any valid options for the HTML <image> tag.
Example:
<tame face: *buy* buy buy.gif alt="[ Buy ]" width=82 height=28 border=0>
Adding this command to *.tag file will provide a "buy button" that can be used on a tame page by using the syntax {*buy*}.
See Also: image, define, button-face-area, creating tags
- HTML-AREA:
- The HTML to format the data and the TAME command to retrieve the required information from a table.
Note: foreach must be used with the workwith command.
Example:
<table width=50% cellpadding=1 border=2>
<tr><td>ITEM</td> <td>PRICE</td> <td>DESCRIPTION</td> <td>SELECT TO PURCHASE</td></tr>
<tame workwith: data>
<tame foreach::
<tr><td>{?item}</td>
<td>{?price}</td>
<td>{?descrip}</td>
<td><tame ^buy: {?item}></td></tr>
>
<tame /workwith>
</table>This example will provide the item, price, description and a buy button for each item in the table data. The information will be presented on the page within a HTML table.
See Also: workwith, {?}, define_wgrep, define_sql, define_tdb
{?FIELD-NAME}
Example:
<tame form>
<tame workwith: product.tdb>
ITEM NUMBER: {?item}<br>
PRICE: {?item,price}<br>
DESCRIPTION: {?item,descrip}<br>
<tame /workwith>
<tame /form>
End Mark Required: /form
<tame form: DOCUMENT-LOCATION>
- DOCUMENT-LOCATION
- The URL where the form will be submitted. The default is to submit to the same page that generated the current form which is usually the desired location.
Example:
<tame hidden: NAME VALUE >
Example:
<tame hidden: computer.item computer>
<tame hidden: computer.qty 1>
<tame buysubmit: Go to order page>Using the hidden input type, the computer item code and quantity values are associated with the page, but are not visible to the customer. The buysubmit will add the computer to the shopping cart.
See Also: form buying, item, ^buysubmit
See Also: HTML-argument-area
See Also: HTML-area
<tame http ^link: DOCUMENT-LOCATION TEXT/IMAGE>
Example:
<tame http ^link: gotcard.tam credit card number was entered>
This example will link the customer, currently on a secure page where the credit card number was entered, to the page gotcard.tam and exit https secure mode.
See Also: ^link, https, outside, unique
<tame https ^link: DOCUMENT-LOCATION TEXT/IMAGE>
Example:
<tame https ^link: getcard.tam enter credit card number>
This example will link the customer in a secure mode so that the credit card number can be input.
See Also: ^link, http, outside, unique
Example:
<tame image: *ball* /images/ball.gif alt="*" width=14 height=14 align=bottom>
See also: place, ^goto, define, face, creating tags
<tame item_image: ITEM TEXT/IMAGE1 TEXT/IMAGE2>
- TEXT/IMAGE1
- Text or image to display if the item-code is not in the cart.
- TEXT/IMAGE2
- Text or image to display if the item-code is in the cart.
- Note: This feature is not sensitive to item qualities. It detects only the existence of the item code in the cart. It does not differentiate between items with different qualities such as "color", "size", etc. A red shoe1 in the cart will be the same as a green shoe1 in the cart.
Example
See Also:
new_query modifier is born.
You need this modifier on your e15.tam page where you goto the e15all.tam page since you
are not using pass to pass any
information. If you don't use this modifier, the page retrieval sequence you were on the
last time you were on the page will be
used. I.e. you won't necessarily start out on hit 1.
Rules:
Using new_query on a link will make sure the page starts out on hit 1.
When you use pass on a link, you don't need new_query.
Please add this modifier to the doc in the same section as the pass modifier.
See Also: ^link
Note: If the tag contains ?FIELDNAME variables, it must be contained inside of a workwith area.
Note: To move variable outside the context of a query, use the transfer or carry modifier.
<tame> pass: &VARIABLE-NAME ?FIELD-NAME . . .; ^LINK/^GOTO: DOCUMENT-LOCATION HTML-ARGUMENT-AREA</tame>
Note: Multiple &VARIABLES or ?FIELD-NAMES can be included in a pass. They should be separated by a space.
Note: Review the use and position of the semicolon.
Note: A ^goto must be used inside a form area to create a submission button which will acquire input variable from the browser to present on the next page.
Example:
<tame>
pass: ?item &dept &size; ^goto: details.tam {*pointer*}
</tame>This example will pass the field-name, item, and the variables, dept and size, to the page details.tam.
See Also: ^goto, ^link, variables, carry, transfer
<tame> passgate </tame>
Example:
See Also: passwd
Modifiers: required
Example:
<tame passwd: passwd 40> Password
This will present a HTML password box which is 40 characters long
Note: Paths can be entered as full path to the file or by using Tame path-file-operators. A path-file-operator is a tame short-cut to entering the full path.
Note: Do not confuse PATH-FILE with DOCUMENT-LOCATION which is the document name and location on the Web Server relative to the current document.
Example:
<tame dos: dir d:\currentdomain\myshop>
This will return the directory of "myshop" to the page on the d drive of the server.
c:\website\htdocs\pagea.tam
This is the PATH-FILE for pagea.tam, the document-location would be /pagea.tam.
See Also: path-file-operator, document-location
Note: See path-file-operator section for more details.
Example:
<tame tamepage: >
~web = {~web}
~shop = {~shop}
~dept = {~dept}
~// = {~//}
<tame /tamepage: >This example might present the following information on a page:
~ = C:/WEBSITE/HTDOCS/examples
~web = C:/WEBSITE/HTDOCS
~shop = C:/WEBSITE/HTDOCS/examples
~dept = C:/WEBSITE/HTDOCS/examples
~// = c:/tame/localhost
See Also: path-file
<tame> place: DOCUMENT-LOCATION HTML-OPTION-LIST </tame>
Example:
<tame> place: star.gif align=center width=50 height=50 alt="test star" </tame>
Placing the image star on a page is accomplished with the place tag. star is a *.gif that has not been defined as an tame image within your pages. See image and face to define the image for multiple pages.
<tame> ^buy: example {place: star.gif align=center width=50 height=50 alt="test star"} </tame>
The buy button is presented using the image star. In this case star is a *.gif that has not been defined as an tame image within your pages. See image and face to define the image for multiple pages.
See Also: face, image, define, defining
<tame price: ITEM>
Example:
- <tame form>
<tame descrip: example>
<tame price: example>
<tame ^buy: example>
<tame /form>- This will present the description, price and a buy button for the product "example". To update the information, changes are made in the product database.
- VALUE:
- Optional value for the button. When not given, value is taken from the assigned variable.
Example:
Modifier: checked
See also: box
<tame radio_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:
Modifier: checked
See Also:
<tame relink: DOCUMENT-LOCATION>
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 tamepage: cleanup.tam>
<tame clear_cart:>
<tame relink: curpage.tam>
<tame /tamepage>The cleanup.tam page would contain only this information. When it is accessed with a ^link command from the curpage.tam, the customer's cart is cleared, the curpage.tam is reloaded and the customer never see this page.
See also: ^link, clear_cart, when
See Also: require_filling, form, ^submit, text, passwd, when_not_filled
See Also: required, form, ^submit, text, passwd
See Also: customer_panel, form, tamehead, tamepage
Draft: Katherine C. Davis 2/27/97