Categories and Sub-categories

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47293
interpreted = N
texte = Hello, We're converting the TeaRoom XML example to fit our store and I could use some help. Does anybody have an example of how to show sub-categories under the main categories on the same page? What I'd like to do is something like this:There would be the following main categories on the Search.tpl page:-Industrial Shelving -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving Let's say you clicked on Industrial Shelving. I'd like it then to display the sub-categories on the same page like so:-Industrial Shelving --Rivet Style Shelving w/wood decking --Rivet Style Shelving w/Melamine decking --Rivet Style Shelving w/wire decking --Rivet Style Shelving w/o decking -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving I'd also like to continue in this vain with sub-sub-categories. Lets say you now clicked on Rivet Style Shelving w/wood decking. I'd like it to display something like this:-Industrial Shelving --Rivet Style Shelving w/wood decking ---Single Rivet Units ---Double Rivet Units ---Workbenches ---Individual Single Rivet Shelves ---Individual Double Rivet Shelves --Rivet Style Shelving w/Melamine decking --Rivet Style Shelving w/wire decking --Rivet Style Shelving w/o decking -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving Also, if you were to change your mind and now want plastic shelving, you'd be able to click that link (or any other, for that matter) and the list would branch out under that category or sub-category just like the above example. In other words, all links would remain active no matter how for down the category tree you'd go. Then once you clicked on the final sub-sub-category, you'd be taken to the item list (Results.tpl) page, as in the TeaRoom example.Regards, Marc*--*--*--*--*--*--*--*--*--*--*--*--*--*--* Superior Shelving Systems P.O. Box 6949 Tacoma, WA 98406253-756-8138 253-752-1610 faxhttp://www.SuperiorShelving.comThe Storage Shelving Specialists Since 1984 *--*--*--*--*--*--*--*--*--*--*--*--*--*--* ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Categories and Sub-categories (Donovan 2003)
  2. Re: Categories and Sub-categories (Sales 2003)
  3. Re: Categories and Sub-categories (Sales 2003)
  4. Re: Categories and Sub-categories (Donovan 2003)
  5. Re: Categories and Sub-categories (Donovan 2003)
  6. Re: Categories and Sub-categories (Marko Bernyk 2003)
  7. Re: Categories and Sub-categories (Tim Robinson 2003)
  8. Categories and Sub-categories (Superior Shelving 2003)
Hello, We're converting the TeaRoom XML example to fit our store and I could use some help. Does anybody have an example of how to show sub-categories under the main categories on the same page? What I'd like to do is something like this:There would be the following main categories on the Search.tpl page:-Industrial Shelving -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving Let's say you clicked on Industrial Shelving. I'd like it then to display the sub-categories on the same page like so:-Industrial Shelving --Rivet Style Shelving w/wood decking --Rivet Style Shelving w/Melamine decking --Rivet Style Shelving w/wire decking --Rivet Style Shelving w/o decking -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving I'd also like to continue in this vain with sub-sub-categories. Lets say you now clicked on Rivet Style Shelving w/wood decking. I'd like it to display something like this:-Industrial Shelving --Rivet Style Shelving w/wood decking ---Single Rivet Units ---Double Rivet Units ---Workbenches ---Individual Single Rivet Shelves ---Individual Double Rivet Shelves --Rivet Style Shelving w/Melamine decking --Rivet Style Shelving w/wire decking --Rivet Style Shelving w/o decking -Plastic/Polymer Shelving -Solid Metal Shelving -Wire Shelving Also, if you were to change your mind and now want plastic shelving, you'd be able to click that link (or any other, for that matter) and the list would branch out under that category or sub-category just like the above example. In other words, all links would remain active no matter how for down the category tree you'd go. Then once you clicked on the final sub-sub-category, you'd be taken to the item list (Results.tpl) page, as in the TeaRoom example.Regards, Marc*--*--*--*--*--*--*--*--*--*--*--*--*--*--* Superior Shelving Systems P.O. Box 6949 Tacoma, WA 98406253-756-8138 253-752-1610 faxhttp://www.SuperiorShelving.comThe Storage Shelving Specialists Since 1984 *--*--*--*--*--*--*--*--*--*--*--*--*--*--* ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Superior Shelving

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Closing Databases (1998) Locking up with WebCatalog... (1997) Protect vs Authenicate (1997) Search for value or blank? (2004) [FoundItems] solved - thanks (1997) [browsername] not working? (1997) Sort Order on a page search (1997) multipart part 2 (2004) WebCat2b13MacPlugIn - more [date] problems (1997) Email Format (1998) WebCatalog NT beta 18 problem (1997) orderfile and setlineitems (1998) WebStar 4.2 issues (2000) Heads up: WebCatalog 4 drops MacTCP, 68K (2000) Make sure I understand this??? (1997) WebDNA equivalent for $REQUEST_URI (2004) Reminder for beta testers (2000) storebuilder security (2005) Secure Server (1999)