MiniVend Akopia Services

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

RE: Simple category -> subcategory pages



******    message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com>     ******

> ******    message to minivend-users from Raj Goel
> <frostbit@brainlink.com>     ******
>
> Gang,
>
> 	I'm trying to create a simple category -> subcategory drill down
> (categories on home page, click to see list of all
> subcategories under that
> category).
>
> 	The categories come up fine, but clicking on the subcategory
> link generates "No searchpage '' found".
>
> 	What am I doing wrong?
>
>
> 	Thanks.
>
>
> ----------------- category.html -------------------
> <BODY BGCOLOR=WHITE>
> <P>Categories
>   [loop search="
>           st=sql
>           sq=select distinct category from products
>   "]
>         <BR>Category: <A HREF="[area scan
>                                 st=sql
>                                 se=[loop-code]
>                                 sf=subcategory
>                                 un=yes
>                                 sp=subcategory
>                                 ]">[loop-code]</A>
>         [/loop]
>
> </BODY>

This [area] tag needs to specify the search page "sp=subcat" to call the
page below. If the page is wrong you get results.html I think.

>
> ----------------- subcat.html -------------------
> <HTML><HEAD></HEAD>
> <BODY BGCOLOR=WHITE>
> <P>Sub-Categories
> [search-list]
>         <A HREF="[area scan
>                 st=sql
>                 sq=select code from products where subcategory
> = '[item-code]'
>         ]"> Subcategory [item-code] </A>
> [/search-list]
> </BODY>
> </HTML>
>
> ========= << raj >>  ==  http://www.brainlink.com/~frostbit/
> ==============
> SYSADMIN: BrainLINK International, Inc.
>    (718) 805-6545
> http://www.brainlink.com
>
> 			Are you ready for eCommerce?
> ================================================================
> ============
>
> -
> 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


Search for: Match: Format: Sort by: