Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Interchange-4.5.5 -- Bug in accessories tag??



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Ton Verhagen (ton@verhagen.net):
> 
> Dear list,
> 
> The accessories tag doesn't interpolate the resulting html (html generated 
> by the accessories tag).
> 
> When I use this code:
> 
> [item-list]
> **Modifier name field (cpu): [modifier-name cpu]]**
> [widget
> 		attribute="cpu"
> 		default="[item-modifier cpu]"
> 		type="select"
> ][loop search=|
> 		mysearch spec
> 		|][loop-code]=[loop-description] [/loop][/widget]
> [item-list]
> 
> This will generate:
> **Modifier name field (cpu): cpu0**
> <SELECT NAME="[modifier-name cpu]"><OPTION VALUE="product id"> product 
> description<OPTION .... etc ...</SELECT>
> **Modifier name field (cpu): cpu1**
> <SELECT NAME="[modifier-name cpu]"><OPTION VALUE="product id"> product 
> description<OPTION .... etc ...</SELECT>
> etc...
> 
> The "[modifier-name cpu]" generated by the accessories tag is not 
> interpolated, but put straight into the page as is.
> I haven't been able so far to have the accessories tag interpolate this 
> last piece of mml code. How to go about? Is this a bug or am I missing the 
> point?
> 

When you get down to this level, don't use the [modifier-name THENAME] thing. All
it does is put the equivalent of THENAME[increment-increment] in the page.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>

Any man who is under 30, and is not liberal, has not heart; and any man
who is over 30, and is not a conservative, has not brains.
 -- Winston Churchill
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: