Akopia Akopia Services

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

Re: [mv] [item-code] quick question



******    message to minivend-users from Liviu Chiriac <lchiriac@ntkcom.com>     ******


I tried a simple [page [item-field code]] , and it links to a valid page only if I have the HTML page
hardcoded in the 'pages' directory. Otherwise it opens pages/special/missing.html saying that things
are still under construction. Does it try to find my code in the first row again, by default?!If so,
is there a way to change the default and make it look in the 7th field to match the code?

I don't want to change the database schema and make 'code' the first row. Can this be done?

Christopher Thompson wrote:

> ******    message to minivend-users from "Christopher Thompson" <ct@arborinternet.com>     ******
>
> You would need to use [item-field code] for your 7th field. [item-code] is
> always the firs column.
>
> > -----Original Message-----
> > From: owner-minivend-users@minivend.com
> > [mailto:owner-minivend-users@minivend.com]On Behalf Of Liviu Chiriac
> > Sent: Monday, February 07, 2000 5:26 PM
> > To: minivend-users@minivend.com
> > Subject: [mv] [item-code] quick question
> >
> >
> > ******    message to minivend-users from Liviu Chiriac
> > <lchiriac@ntkcom.com>     ******
> >
> >
> > My products database (mysql) schema has both 'row' and 'code' defined in
> > its schema:
> > - 'row' is the first field
> > - 'code' is the 7th field
> >
> > For some strange reason, if I refer to [item-code] minivend shows the
> > 'row' value, and not the 'code' value. I have to use an [sql] ... [/sql]
> > to get to the value of the 'code'.
> >
> > Does 'code' need to be the first colomn in my schema?
> >
> > Thanks in adv.
> >     Liviu
> >
> >
> > -
> > 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

-
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: