[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] [if] and its ilk
****** message to minivend-users from Ed LaFrance <edlafrance@printexusa.com> ******
The best solution may be to not have blank lines in your database!
- Ed L.
At 12:27 PM 3/19/00 -0500, you wrote:
>****** message to minivend-users from Chris Rapier
><rapier@psc.edu> ******
>
>One of problem I have having with the test store is that the following
>code for generating the initial product categories listing:
>
>
>[loop search="
> ra=yes
> un=yes
> rf=category
> ml=10000
> "
>]
><LI> <A HREF="[area href=scan
> arg='
> sf=category
> se="[loop-code]"
> tf=category,artist
> ml=5
> '
> ]">[loop-code]</A></LI>
>[/loop]
>
>Does not handle blank lines in the database very well. For example:
>If the database contained
>category artist
>good art goya
>bad art kostabi
> <---- blank line
>mediocre art picasso
>
>The following would be displayed as categories.
>
>* good art
>* bad art
>*
>* mediocre art
>
>I tried wrapping it inside of [if !value category eq ""]
>but it didn't work at all the way I expected. I know that this
>should quite easy but I can't seem to figure it out. My feeling is
>that I just don't know how to get the field value of category into
>the right place.
>
>Chris Rapier
>-
>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
Printex Marking Technologies
12113 Kirkham Rd.
Poway, CA 92064 U.S.A.
858-513-2418
800-982-1928
858-513-2419 FAX
http://www.printexusa.com
-
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