close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

repeat products inside a repeat categories

Thread began 10/30/2012 6:21 pm by Christopher West | Last modified 10/31/2012 1:18 pm by Christopher West | 425 views | 2 replies

Ray BorduinWebAssist

What I usually do in this case is instead of doing any JOINs at all, just create two recordsets with just single table references and have one filter off the other inside the repeated region.

So the steps might be:

1) Create your category recordset
2) Create your products recordset filtered with a url parameter ($_GET["CategoryID"] for intstance)
3) Create your category repeat region (done);
4) Create your products repeat region (note: DW won't let you nest, so you can create it below and copy and paste to move the product repeated region into the category repeated region.
5) Copy and paste the products recordset code into the category repeated region as well.
6) Add this code above the products recordset inside the category repeated region:
<?php $_GET["CategoryID"] = $row_rsCategories["CategoryID"]; ?>


That should do it and will allow more flexibility than you might have trying to do it with a single repeat region and joins.

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