Akopia Akopia Services

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

Re: [mv] How to Return loop list of all categories in a select form?



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

At 10:08 PM 1/7/2000 , you wrote:
>******    message to minivend-users from Chris Daniel 
><krskrem@speedfactory.net>     ******
>
>Hello list,
>
>First of all , Thanks Marty Vance for the code related to showing items
>in a table.
>It works great!
>3 across is enough, although it will do all kinds of stuff, I played
>with it for hours.:)
>
>Next thing, I don't know how I finally figured out this thing, except
>reading almost every mail list on the subject and the docs a few more
>times.
>
>I want to do a select list of all categories, when I do this:
>
>
><form name="form1" action="[process-search]" method=POST>
><select MV="loop"
>         MV.PREPEND="[sort products:category]"
>         MV.SEARCH="sf=category/fi=products.asc/ra=yes"
>         name="mv_searchspec">
>   [loop-change category]
>   [condition][loop-field category][/condition]
>     <option value="[loop-data products category]"> [loop-data products
>category]
>   [/loop-change category]
>
></select>
><input type="submit" name="mv_todo" value="go">
></form>
>
>I get a select list of all the categories in the first 50 items only,
>not all of them. I have over 2000 items today, with more added all the
>time.

Add ml=2000 to your search to make the matchlimit 2000.  I think that 
should work for you.



>It works good, only unique items are shown, and it actually gets the
>right results when you search . But it only does the first 50 items.
>If you cant tell , I am amazed.:)
>
>I tried [tag each products] [/tag] in a text version of same kind of
>thing but that takes to long.
>
>Is there another way to get all the categories from the database into my
>
>select form?
>Another thing , I want to use a default first item, but when I place
>something in that area , it gets caught up in the loop and is repeated.
>
>Chris
>
>
>
>-
>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


Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://www.insideline.net
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.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


Search for: Match: Format: Sort by: