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

Dynamic Nested Menu help

Thread began 6/29/2011 9:28 am by Nathan69474 | Last modified 6/30/2011 5:36 pm by Nathan69474 | 1467 views | 7 replies

Jason ByrnesWebAssist

the problem is caused by your table relations.


lets take a look at the "Creating Dynamic Menus with CSS Menu Writer 2.0" tutorial on the menu writer support page page in the how to's section:
css-menu-writer/

The sample uses the items and itemcategories table from the Blue Sky music tutorial.

the itemcategories table is the parent table, the structure and data looks like this:

itemcategories:
+-------+---------+
| CatID | Catname |
+-------+---------+
| 1 | CD |
--------+---------+
| 2 | Gear |
+-------+---------+


When creating the first level menu, the CatID column is used for the ID column


the structure and data for the items table looks like this

items:
+--------+-----------+-----------------+
| ItemID | ItemCatID | ItemName |
+--------+-----------+-----------------+
| 1 | 1 | Body Double |
+--------+-----------+-----------------+
| 2 | 1 | So Last Season |
+--------+-----------+-----------------+
| 3 | 1 | HotFlash |
+--------+-----------+-----------------+
| 4 | 1 | A-Go-Go |
+--------+-----------+-----------------+
| 5 | 1 | Filtered Light |
+--------+-----------+-----------------+
| 6 | 1 | DV8: Tendencies |
+--------+-----------+-----------------+
| 7 | 2 | Travel Mug |
+--------+-----------+-----------------+
| 8 | 2 | Travel Tote |
+--------+-----------+-----------------+
| 9 | 2 | Ball Cap |
+--------+-----------+-----------------+
| 10 | 2 | Sport Backpack |
+--------+-----------+-----------------+
| 11 | 2 | Knit Cap |
+--------+-----------+-----------------+



In the filtering section when creating the nested table, the ItemCatID column is selected. that column is used to relate the items to the categories

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