[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 "Christian J. =?iso-8859-1?Q?M=FCller?=" <cmueller@polinet.ch> ******
Hi Chris,
I think that empty lines will not work with MV. According to the db
defionition, each line must have a unique key, which is not the case
with empty lines.
You have to get rid of the empty lines! (Why would you want empty
lines?)
Chris
Chris Rapier 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
-
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