close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic Drop Downs navigation

Thread began 1/23/2014 12:04 pm by russb335115 | Last modified 1/23/2014 2:23 pm by Jason Byrnes | 2059 views | 15 replies |

russb335115

Dynamic Drop Downs navigation

Okay, so I created the dynamic drop down using the tutorial and it works well with one exception. When I click on a category it places all the products on the results page. Not just the ones for that category.

Help :)

Sign in to reply to this post

Jason ByrnesWebAssist

I need more details, i also need a copy of the pages and a link to see the problem.

Sign in to reply to this post

russb335115

Hi Jason,

The website only lives on my local sever right now (while I'm developing it). Not sure if it will help but I will attach the files and images for the resulting webpages.

The first image show the first level drop down. When these are clicked the results page show all products from of the seven categories instead of just the category selected.

Sign in to reply to this post

Jason ByrnesWebAssist

1) the results page is set to filter by category

edit the database search behavior on the results page to add a Categoty filter using the CategoryID url variable.

2) the databASe search behavior on the results page is set to trigger on a URL variable named search

your category links:
<a href="../../products_results.php?CategoryID=<?php echo $row_menuwriter_productcategories["CategoryID"]; ?>"><?php echo $row_menuwriter_productcategories["CategoryName"]; ?></a>

will need to contain the search URL variable:
<a href="../../products_results.php?CategoryID=<?php echo $row_menuwriter_productcategories["CategoryID"]; ?>&Search=Search"><?php echo $row_menuwriter_productcategories["CategoryName"]; ?></a>

Sign in to reply to this post

russb335115

Where is the code that I need to change? I looked on the results page but can't seem to find it.

Sign in to reply to this post

Jason ByrnesWebAssist

the code for the links is in the CSSMenuWriter/cssmw0/menu.php


you dont need to edit code on the results page, you need to edit the Data Assist Search server behavior.

Sign in to reply to this post

russb335115

Hi Jason,

Thanks for the info but the results are the same. No matter what category I click on in returns the same results (it list all the products regardless of category)

Sign in to reply to this post

Jason ByrnesWebAssist

new pages please...

Sign in to reply to this post

russb335115

?

are you asking to see the page again?

Sign in to reply to this post

Jason ByrnesWebAssist

well, you made changes to the code, so i need to see the new pages to see the changes that where made in order to have any idea why the changes are not working...

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...