close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Customer catalog issues

Thread began 2/14/2021 2:52 pm by Peterson Design Studio - jefferis | Last modified 2/19/2021 12:54 pm by Ray Borduin | 50 views | 10 replies |

Peterson Design Studio - jefferis

Customer catalog issues

I was finally able to get the customer catalog created, but I am having a few issues. Unless the product name EXACTLY matches the product, like Concrete 40lb bag, it will not show up if you type in Concrete. Also, it created a delete button on the detail page. Not sure why. That shouldn't be in a customer catalog.
Another question is there a way to add more fields to the search page without redoing the entire search catalog? Like description, etc. and make it less exact?
http://66.39.111.101/products_search.php Also, if you type in nothing, and hit search, you get the entire catalog. Well and good, but it is producing a strange string for each page that is being added to the name.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the .php pages involved so I can take a look and comment on what needs to be changed.

You can manually add new fields to the search page in Dreamweaver and update the Search server behavior on the results page to change how the search works and what fields it recognizes.

Once you run the wizard, you can continue to use Dreamweaver to update the pages however you need to customize them.

Sign in to reply to this post
Did this help? Tips are appreciated...

Peterson Design Studio - jefferis

I tried double clicking on server behaviors to add additional fields to the search page, but nothing happened. Drag and drop did not work either.

Attached Files
products_detail.php
products_results.php
products_search.php
Sign in to reply to this post

Ray BorduinWebAssist

You can add fields to the search page by using the insert text field option in Dreamweaver. HTML elements aren't added through the Server Behaviors. You can add form elements directly through Dremaweaver or copy/paste one of the existing fields and rename them.

The server behavior is on the results page and it is used to add the field to the search once you have added it to the page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Peterson Design Studio - jefferis

what about these: In Search, unless the product name EXACTLY matches the product, like Concrete 40lb bag, it will not show up if you type in Concrete. Also, it created a delete button on the detail page. Not sure why. That shouldn't be in a customer catalog.

Sign in to reply to this post

Ray BorduinWebAssist

Just delete the delete button from the page and remove the delete server behavior and that should take care of that.

You can use "keyword" search type in the database search server behavior and that would allow you to do partial matches. If you attach the pages you are working on then I could be more specific.

Sign in to reply to this post
Did this help? Tips are appreciated...

Peterson Design Studio - jefferis

they were attached in the second post

Sign in to reply to this post

Ray BorduinWebAssist

Yes.. you can delete the code on lines 4-15 and remove the delete button from lines 182-185.... you can also remove the overlay popup on lines 204-217.

There is an option to include a delete or not in the wizard, but now that it has run, it is easier and better to just delete it manually.

On the results page you can open the Database Search server behavior and change the "Comparison" from "=" to "includes" and then it won't have to be an exact match.

Sign in to reply to this post
Did this help? Tips are appreciated...

Peterson Design Studio - jefferis

which = do I replace?
$searchWADAproducts_WADbSearch1->clearSearch();
$searchWADAproducts_WADbSearch1->setSearch(array("type"=>"Edit", "comparison"=>"=", "join"=>"AND"), array("ProductName"), "s", "ProductName");
$searchWADAproducts_WADbSearch1->setSearch(array("type"=>"Edit", "comparison"=>"=", "join"=>"AND"), array("ProductMetaKeywords"), "s", "ProductMetaKeywords");
$searchWADAproducts_WADbSearch1->setSearch(array("type"=>"Edit", "comparison"=>"=", "join"=>"AND"), array("ProductPrice"), "d", "ProductPrice");
}

THE FIRST or second = in the "comparison "=>"="

Also, on page 2 and following of the results I see this extraneous info:
&pageNum_WADAproducts=1
&pageNum_WADAproducts=14" CORRUGATED TO SandD ADPT 24/CT

Sign in to reply to this post

Peterson Design Studio - jefferis

you said: The server behavior is on the results page and it is used to add the field to the search once you have added it to the page.

I found that in the basic search Since I or the wizard did not add all the other fields to the query, adding description, eg., is not available in the server behaviors connection. It looks like I have to redo it from scratch to add more fields.

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...