|
Using hyperlink category selection |
Post Reply |
Author | |
jmoffett
Newbie Joined: July/18/06 Status: Offline Points: 28 |
Post Options
Thanks(0)
Posted: August/08/06 at 11:23pm |
I would like to use hyperlinks to navigate my product categories instead of the database results. What is the proper syntax to link to the dynamic.asp page showing just a single product category with a hyperlink? Also, can I add additional categories (sub-categories) to the products.mdb table in order to further refine my search abilities?
|
|
mikeb
Admin Group Joined: March/17/04 Location: United States Status: Offline Points: 194 |
Post Options
Thanks(0)
|
Use this hyperlink.
http://www.mywebsite.com/mall/dynamic.asp?Category="name of your shortcat1" |
|
jmoffett
Newbie Joined: July/18/06 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
I'm not getting that to work. I'm using:
http://www.7173parts.com/mall/dynamic.asp?Category=arts (there are two "arts" products in the Shortcat1 column) and it loads all of the products just as when I click the search button without a keyword. |
|
mikeb
Admin Group Joined: March/17/04 Location: United States Status: Offline Points: 194 |
Post Options
Thanks(0)
|
Sorry...
should be http://www.7173parts.com/mall/dynamic.asp?fmcategory=arts |
|
jmoffett
Newbie Joined: July/18/06 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
That works. Thanks.
|
|
jmoffett
Newbie Joined: July/18/06 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Now I'm looking to reference Category2. Simply revising the above url with a 2 after Category and specifying a valid Category2 name brings up all products. How would this be done? Thanks.
|
|
mikeb
Admin Group Joined: March/17/04 Location: United States Status: Offline Points: 194 |
Post Options
Thanks(0)
|
Do you have FrontPage? If so:
You would need to edit the template and rerun the FrontPage database region wizard to modify the SQL to incorporate a second "where" clause for the second category. If you don't know how to do that, I would look for a good book on FrontPage and make sure it has at least one good chapter on the Frontpage Database Region Wizard. If you have dreamweaver, then you need a book on Dreamweaver Server Behavoirs. |
|
jmoffett
Newbie Joined: July/18/06 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
Can I not create a URL that narrows the product display based on Category 2, just as the above URL (http://www.7173parts.com/mall/dynamic.asp?fmcategory=arts) narrows the selection based on the Category field? Or does your previous reply suggest that Category 2 is not currently recognized by the Database Results Region?
|
|
mikeb
Admin Group Joined: March/17/04 Location: United States Status: Offline Points: 194 |
Post Options
Thanks(0)
|
Yes....the query we create by default with the DRWizard only recognized a single cat...you would need to rerun it to add the second "criteria".
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |