[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] perl in receipt.html
****** message to minivend-users from "Christopher Thompson" <ct@arborinternet.com> ******
I use [perl] in receipt.html (don't know what I'd do without it). Check
you log file. It has good debugging information for [perl] tags. If there
are errors the [perl] tag does not execute, so debug first.
> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [mailto:owner-minivend-users@minivend.com]On Behalf Of Tewfic Kidess
> Sent: Tuesday, July 11, 2000 1:25 PM
> To: minivend-users@minivend.com
> Subject: [mv] perl in receipt.html
>
>
> ****** message to minivend-users from Tewfic Kidess
> <tewfic@electradigital.com> ******
>
>
> Hello,
>
> Can we embed perl code in the receipt.html page??? Below is
> what I have but it doesn't
> seem to run at all. Ideas???
>
> Thanks
>
> ex.
>
> Quan Item No. Title
> Price Extension
> ---- -----------
> ---------------------------------------------------- --------------
> ----------------
> [item-list]
> [row 82]
> [column width=5 gutter=1 align=right]
> [item-quantity] [/column]
> [column width=12 gutter=1] [item-code] [/column]
> [column width=32 align=left gutter=1 wrap=1]
> [perl interpolate=1]
> $mytitle = str_replace("<","<",[item-field title]);
> $mytitle = str_replace(">",">",$mytitle);
> $mytitle = "Title - ".$mytitle;
> return "This is the title $mytitle";
> [/perl]
> [if-modifier size]SIZE-->[item-modifier
> size][/if-modifier][if-modifier color]
> COLOR-->[item-modifier color][/if-modifier]
> [/column]
> [column width=15 align=right gutter=1][item-price][/column]
> [column width=16 align=right gutter=0][item-subtotal][/column]
> [/row]
>
>
> Thanks
>
> -
> 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
>
-
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