an someone walk me through the process of adding the product page?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 15, 2010   (RSS)

Re: [Devereuks879] an someone walk me through the process of adding the product page?

By Chris - November 15, 2010

Hi Jim,

I think you've set up a Section and are asking how to set up a Viewer for that section. You can do this using the Code Generator, which is in CMS Builder under the Admin menu group.

Since the Products Preset editor is a Multi Record Section, you'll want a List Viewer to list your products and a Detail Viewer to show an individual product.

1. Go to the Code Generator and select your products section in the first dropdown.

2. Leave Viewer Type as "List page" and everything else as defaulted too.

3. Click "Show Code"

4. Save this as "productsList.php"

5. Go back to the Code Generator and choose Viewer Type "Detail page" this time, leaving everything else defaulted.

6. Click "Show Code"

7. Save this as "productsDetail.php"

8. Modify your products section (Admin > Section Editors > Products)

9. Click the Viewer Urls tab at the top of the page.

10. Enter "productsList.php" and "productsDetail.php" for your List Page Url and Detail Page Url, respectively.

11. Click "Save Details"

12. Browse to your new list page and make sure the detail links work.

I hope this helps! Please let me know if you have any questions.
All the best,
Chris