Akopia Akopia Services

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

Re: [mv] v3.12 - [sort] not working with [loop args]



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

At 11:27 AM 4/12/00 , you wrote:
>******    message to minivend-users from Ed LaFrance 
><edlafrance@printexusa.com>     ******
>[snip]

>...still a blank page!  Finally I tried:
>
>[loop arg="4 3 2 1"]
>         [sort]
>         [loop-code]
>[/loop]
>
>...and...
>
>[loop arg="4 3 2 1"]
>         [loop-code]
>[/loop]
>
>At last the args were listed on the page, but they were not sorted in the 
>instance where the [sort] tag was included.
>
>So, it appears that:
>
>1). [loop arg arg arg] does not work at all, though the docs say it is 
>legal; [loop arg="arg arg arg"] must be used instead;

         I agree.


>2). [sort] does not work at all in this context.  I have used [sort 
>database::fieldname] with [tag each database] and [loop search], so I know 
>those work, but when the loop data is supplied as a literal argument or 
>variable string and/or the sort is based on the loop data itself (instead 
>of a related database field), the sort tag appears to be broken.

         It doesn't make logical sense to me that the sort would be inside 
the loop.  It seems that in that syntax that each looped arg will exist as 
a single item, sorting a single item wouldn't do much.  Perhaps if the 
[sort] encompassed the [loop] it would work.  But, :-), I don't have much 
experience with using [sort].



Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://yamamoto.baits.com
Gary Yamamoto Custom Baits, Inc.                http://www.insideline.net

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