MiniVend Akopia Services

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

Re: Slooooooow



******    message to minivend-users from Thomas Balu Walter <tw@mail.iTreff.de>     ******

* adfranse (info@afa.nl) [13.04.99 09:07]:
> ******    message to minivend-users from adfranse <info@afa.nl>     ******
> I'am having problems with the following code:
> [tag each products]
> [sort products:categorie products:description]
> [loop-change 1]
> [condition][loop-field categorie][/condition]
> 	<a href="/cgi-bin/sample/scan/sf=categorie/mp=0/se=[loop-field categorie]" target="home"><BR>[loop-field categorie]
> [/loop-change 1]
> [/tag]
> 
> This is to make a list of all categories to choose from. The problem is that it is very slow. Products.asc has about 700 products. I'am using minivend 3.11 on Linux Slackwarte 3.6 with apache.
> 
> Does anyone know how to speed this up ?

Try something like
    [comment]<!-- list of categories -->[/comment]
    [loop search="ml=100/ra=yes/tf=category/rf=category/un=yes"]
       [loop-code]
    [/loop] 

[loop-code] is the category, because I onlz return the category-field (rf=category)
this should be much faster...

     Balu
PS: Regards to mike who notified me of this weeks ago..
-
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: