Miva Merchant 4 Module FAQs » Product Page Templates (BROK_PRODTEMPLATES )


I would like to control the size of the text and memo fields in my attributes. How?

(2003/12/08)This feature is built into the module. It is accomplished by replacing the %fields% token in the "text" and "memo" type attribute templates with variations of that token. From the newtokens.txt file:

%fields|xx|%: used the text type attribute area, xx is the size of the text entry field (must
be 2 digits, eg. 05)

%fields|xx|yy|%: used in the memo type attribute area. xx is the cols and yy is the number
of rows (xx and yy must be 2 digits).

%fieldsL|xx|yy|%: when used in the text type attribute area, xx is the size of the text entry
field, and yy is the maxlength.

%fields|text|%: when used in the select type attribute area, the text will be displayed as
the default option in the drop down list and will have a null value. If the attribute is
required, the selection of the default will cause the customer to have to select a different
option from the list.

So you can replace the %fields% token in the "text type" attribute field with a token such as


which would display the field with a size of 40

Last update: 2004-12-07 13:59
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category